Commit 41a8747a351eddf73bf1ca4822b82e269c9161ce
1 parent
f0d658fa
+ fix по sessions
Showing
3 changed files
with
5 additions
and
3 deletions
Show diff stats
js/_tiny_mce/plugins/ajaxfilemanager/inc/config.base.php
| ... | ... | @@ -41,7 +41,7 @@ error_reporting(E_ALL); |
| 41 | 41 | define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only |
| 42 | 42 | define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/'); //accept relative path only |
| 43 | 43 | define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name |
| 44 | - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); | |
| 44 | + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); | |
| 45 | 45 | define("CONFIG_SYS_PATTERN_FORMAT", 'reg'); //two options: reg and list, this option define the parttern format for the following patterns |
| 46 | 46 | //reg: use regular expression; list=> use a list of files/folders deliminated by comma |
| 47 | 47 | define('CONFIG_SYS_INC_DIR_PATTERN', ''); //leave empty if you want to include all foldler | ... | ... |
js/tiny_mce/plugins/ajaxfilemanager/inc/config.base.php
| ... | ... | @@ -52,7 +52,7 @@ define('CONFIG_ACCESS_CONTROL_MODE', 1); |
| 52 | 52 | define('CONFIG_SYS_DEFAULT_PATH', '../../../../uploaded/'); //accept relative path only |
| 53 | 53 | define('CONFIG_SYS_ROOT_PATH', '../../../../uploaded/'); //accept relative path only |
| 54 | 54 | define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name |
| 55 | - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); | |
| 55 | + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); | |
| 56 | 56 | define("CONFIG_SYS_PATTERN_FORMAT", 'list'); //three options: reg ,csv, list, this option define the parttern format for the following patterns |
| 57 | 57 | /** |
| 58 | 58 | * reg => regulare expression |
| ... | ... | @@ -60,6 +60,7 @@ define('CONFIG_ACCESS_CONTROL_MODE', 1); |
| 60 | 60 | * list => a list of comma spearated vague file/folder name (partially match the specified file/folders) |
| 61 | 61 | * |
| 62 | 62 | */ |
| 63 | + | |
| 63 | 64 | //more details about regular expression please visit http://nz.php.net/manual/en/function.eregi.php |
| 64 | 65 | define('CONFIG_SYS_INC_DIR_PATTERN', ''); //force listing of folders with such pattern(s). separated by , if multiple |
| 65 | 66 | define('CONFIG_SYS_EXC_DIR_PATTERN', 'CVS'); //will prevent listing of folders with such pattern(s). separated by , if multiple | ... | ... |
js/tiny_mce/plugins/ajaxfilemanager/inc/config.tinymce.php
| ... | ... | @@ -51,7 +51,7 @@ error_reporting(E_ALL); |
| 51 | 51 | define('CONFIG_SYS_DEFAULT_PATH', '../uploaded/'); //accept relative path only |
| 52 | 52 | define('CONFIG_SYS_ROOT_PATH', '../uploaded/'); //accept relative path only |
| 53 | 53 | define('CONFIG_SYS_FOLDER_SHOWN_ON_TOP', true); //show your folders on the top of list if true or order by name |
| 54 | - define("CONFIG_SYS_DIR_SESSION_PATH", 'session/'); | |
| 54 | + define("CONFIG_SYS_DIR_SESSION_PATH", $_SERVER['DOCUMENT_ROOT'].'/sessions/'); | |
| 55 | 55 | define("CONFIG_SYS_PATTERN_FORMAT", 'list'); //three options: reg ,csv, list, this option define the parttern format for the following patterns |
| 56 | 56 | /** |
| 57 | 57 | * reg => regulare expression |
| ... | ... | @@ -59,6 +59,7 @@ error_reporting(E_ALL); |
| 59 | 59 | * list => a list of comma spearated vague file/folder name (partially match the specified file/folders) |
| 60 | 60 | * |
| 61 | 61 | */ |
| 62 | + | |
| 62 | 63 | //more details about regular expression please visit http://nz.php.net/manual/en/function.eregi.php |
| 63 | 64 | define('CONFIG_SYS_INC_DIR_PATTERN', ''); //force listing of folders with such pattern(s). separated by , if multiple |
| 64 | 65 | define('CONFIG_SYS_EXC_DIR_PATTERN', ''); //will prevent listing of folders with such pattern(s). separated by , if multiple | ... | ... |