diff --git a/js/_tiny_mce/plugins/ajaxfilemanager/inc/config.base.php b/js/_tiny_mce/plugins/ajaxfilemanager/inc/config.base.php index 219a776..8f5f942 100644 --- a/js/_tiny_mce/plugins/ajaxfilemanager/inc/config.base.php +++ b/js/_tiny_mce/plugins/ajaxfilemanager/inc/config.base.php @@ -41,7 +41,7 @@ error_reporting(E_ALL); define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); define("CONFIG_SYS_PATTERN_FORMAT", 'reg'); //two options: reg and list, this option define the parttern format for the following patterns //reg: use regular expression; list=> use a list of files/folders deliminated by comma define('CONFIG_SYS_INC_DIR_PATTERN', ''); //leave empty if you want to include all foldler diff --git a/js/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php b/js/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php index 901d9f1..539c9d2 100644 --- a/js/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php +++ b/js/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php @@ -52,7 +52,7 @@ define('CONFIG_ACCESS_CONTROL_MODE', 1); define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/'); //accept relative path only define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); define("CONFIG_SYS_PATTERN_FORMAT", 'list'); //three options: reg ,csv, list, this option define the parttern format for the following patterns /** * reg => regulare expression @@ -60,6 +60,7 @@ define('CONFIG_ACCESS_CONTROL_MODE', 1); * list => a list of comma spearated vague file/folder name (partially match the specified file/folders) * */ + //more details about regular expression please visit http://nz.php.net/manual/en/function.eregi.php define('CONFIG_SYS_INC_DIR_PATTERN', ''); //force listing of folders with such pattern(s). separated by , if multiple define('CONFIG_SYS_EXC_DIR_PATTERN', 'CVS'); //will prevent listing of folders with such pattern(s). separated by , if multiple diff --git a/js/tiny_mce/plugins/ajaxfilemanager/inc/config.tinymce.php b/js/tiny_mce/plugins/ajaxfilemanager/inc/config.tinymce.php index a654c8f..b8bc3aa 100644 --- a/js/tiny_mce/plugins/ajaxfilemanager/inc/config.tinymce.php +++ b/js/tiny_mce/plugins/ajaxfilemanager/inc/config.tinymce.php @@ -51,7 +51,7 @@ error_reporting(E_ALL); define('CONFIG_SYS_DEFAULT_PATH', '../uploaded/'); //accept relative path only define('CONFIG_SYS_ROOT_PATH', '../uploaded/'); //accept relative path only define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); define("CONFIG_SYS_PATTERN_FORMAT", 'list'); //three options: reg ,csv, list, this option define the parttern format for the following patterns /** * reg => regulare expression @@ -59,6 +59,7 @@ error_reporting(E_ALL); * list => a list of comma spearated vague file/folder name (partially match the specified file/folders) * */ + //more details about regular expression please visit http://nz.php.net/manual/en/function.eregi.php define('CONFIG_SYS_INC_DIR_PATTERN', ''); //force listing of folders with such pattern(s). separated by , if multiple define('CONFIG_SYS_EXC_DIR_PATTERN', ''); //will prevent listing of folders with such pattern(s). separated by , if multiple -- libgit2 0.21.4