MCImageManager:Configuration/general.user friendly paths

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: general.user_friendly_paths

If this option is enabled, all visible file/directory paths will be cropped with the root path. So for example if you set the root path to /www/myfiles and have the path set to /www/myfiles/somedir the presented path will be /somedir. This option is very useful if you have user or project specific directories.

Example of usage in the config.php file

$mcImageManagerConfig['general.user_friendly_paths'] = true;

Example of usage in the Web.Config file

<add key="general.user_friendly_paths" value="false" />

Example of usage in a mc_access file

general.user_friendly_paths=true
Personal tools