MCImageManager:Configuration/filesystem.rootpath
From Moxiecode Documentation Wiki
Contents |
[edit]
Option: filesystem.rootpath
This option is the default root path for the MCImageManager the user may not go below this point in the directory structure.
If you for example try to access the following dir "/somedir1" with a root path of "/somedir1/somedir2" a hack attempt message will be displayed, this message will normally not appear since the user can't access directories below the root point.
Path can be relative or absolute. And you can have multiple ones and name them check the examples below.
[edit]
Example of usage in the config.php file
$mcImageManagerConfig['filesystem.rootpath'] = "/somedir1/somedir2";
[edit]
Example of usage in the Web.Config file
<add key="filesystem.rootpath" value="/somedir1/somedir2" />
[edit]
Example of multiple named root paths the config.php file
$mcImageManagerConfig['filesystem.rootpath'] = "name1=/somedir1/somedir2;name2=/somedir2/somedir3;";
[edit]
Example of multiple named root paths the Web.Config file
<add key="filesystem.rootpath" value="name1=/somedir1/somedir2;name2=/somedir2/somedir3;" />
