CMS MADE SIMPLE FORGE

MultiDomains

 

[#9385] Some config.php settings prevent DIR change in filemanager

avatar
Created By: Bernd Klenk (klenkes)
Date Submitted: Thu Jul 11 10:50:19 -0400 2013

Assigned To: Andi Petzoldt (andiministrator)
Version: MultiDomains 2.1.1
CMSMS Version: 1.11.7
Severity: Minor
Resolution: None
State: Open
Summary:
Some config.php settings prevent DIR change in filemanager
Detailed Description:
I noticed that the following settings in config.php made by MultiDomains prevent
changing the directory in filemanager:
(means: you are stuck in /uploads)

$config['root_path'] = $config['subdir'] ?
$_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$config['subdir'] :
$_SERVER['DOCUMENT_ROOT'];

// Where do previews get stored temporarily?  It defaults to tmp/cache.
$config['previews_path'] =
$config['root_path'].DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'cache';

// Where are uploaded files put?  This defaults to uploads.
$config['uploads_path'] = $config['root_path'].DIRECTORY_SEPARATOR.'uploads';

Since we don't need them anymore in CMSMS 1.11 I commented them out and
everything works again.


History