Index: trunk/admin/config/missing_label_edit.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/missing_label_edit.php (.../missing_label_edit.php) (revision 2536) +++ trunk/admin/config/missing_label_edit.php (.../missing_label_edit.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/reviews.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/reviews.php (.../reviews.php) (revision 2536) +++ trunk/admin/reviews.php (.../reviews.php) (revision 2569) @@ -58,6 +58,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/install.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/install.php (.../install.php) (revision 2536) +++ trunk/admin/install.php (.../install.php) (revision 2569) @@ -27,6 +27,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/edit_customfields.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/edit_customfields.php (.../edit_customfields.php) (revision 2536) +++ trunk/admin/config/edit_customfields.php (.../edit_customfields.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/save_redirect.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/save_redirect.php (.../save_redirect.php) (revision 2536) +++ trunk/admin/save_redirect.php (.../save_redirect.php) (revision 2569) @@ -34,6 +34,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/relation_select.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/relation_select.php (.../relation_select.php) (revision 2536) +++ trunk/admin/relation_select.php (.../relation_select.php) (revision 2569) @@ -68,6 +68,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser.php (.../adduser.php) (revision 2536) +++ trunk/admin/users/adduser.php (.../adduser.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/edit_banlist.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/edit_banlist.php (.../edit_banlist.php) (revision 2536) +++ trunk/admin/config/edit_banlist.php (.../edit_banlist.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/import/step1.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/import/step1.php (.../step1.php) (revision 2536) +++ trunk/admin/import/step1.php (.../step1.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/logs/searchlog.php =================================================================== diff -u -N -r2557 -r2569 --- trunk/admin/logs/searchlog.php (.../searchlog.php) (revision 2557) +++ trunk/admin/logs/searchlog.php (.../searchlog.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/import/step2.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/import/step2.php (.../step2.php) (revision 2536) +++ trunk/admin/import/step2.php (.../step2.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/import/step3.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/import/step3.php (.../step3.php) (revision 2536) +++ trunk/admin/import/step3.php (.../step3.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/import/step4.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/import/step4.php (.../step4.php) (revision 2536) +++ trunk/admin/import/step4.php (.../step4.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/group_addpermission.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/group_addpermission.php (.../group_addpermission.php) (revision 2536) +++ trunk/admin/users/group_addpermission.php (.../group_addpermission.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_select.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_select.php (.../user_select.php) (revision 2536) +++ trunk/admin/users/user_select.php (.../user_select.php) (revision 2569) @@ -34,6 +34,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/logs/email_log.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/logs/email_log.php (.../email_log.php) (revision 2536) +++ trunk/admin/logs/email_log.php (.../email_log.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/edit_template.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/edit_template.php (.../edit_template.php) (revision 2536) +++ trunk/admin/config/edit_template.php (.../edit_template.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/edit_label.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/edit_label.php (.../edit_label.php) (revision 2536) +++ trunk/admin/config/edit_label.php (.../edit_label.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addlang.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addlang.php (.../addlang.php) (revision 2536) +++ trunk/admin/config/addlang.php (.../addlang.php) (revision 2569) @@ -33,6 +33,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addtheme_templates.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addtheme_templates.php (.../addtheme_templates.php) (revision 2536) +++ trunk/admin/config/addtheme_templates.php (.../addtheme_templates.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/help/install_help.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/help/install_help.php (.../install_help.php) (revision 2536) +++ trunk/admin/help/install_help.php (.../install_help.php) (revision 2569) @@ -24,6 +24,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/edit_config.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/edit_config.php (.../edit_config.php) (revision 2536) +++ trunk/admin/config/edit_config.php (.../edit_config.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser_custom.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser_custom.php (.../adduser_custom.php) (revision 2536) +++ trunk/admin/users/adduser_custom.php (.../adduser_custom.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addrelation.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addrelation.php (.../addrelation.php) (revision 2536) +++ trunk/admin/category/addrelation.php (.../addrelation.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/tools/server_info.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/tools/server_info.php (.../server_info.php) (revision 2536) +++ trunk/admin/tools/server_info.php (.../server_info.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/module_email.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/module_email.php (.../module_email.php) (revision 2536) +++ trunk/admin/config/module_email.php (.../module_email.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory.php (.../addcategory.php) (revision 2536) +++ trunk/admin/category/addcategory.php (.../addcategory.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/missing_label_search.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/missing_label_search.php (.../missing_label_search.php) (revision 2536) +++ trunk/admin/config/missing_label_search.php (.../missing_label_search.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/config_theme.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/config_theme.php (.../config_theme.php) (revision 2536) +++ trunk/admin/config/config_theme.php (.../config_theme.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory_customfields.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory_customfields.php (.../addcategory_customfields.php) (revision 2536) +++ trunk/admin/category/addcategory_customfields.php (.../addcategory_customfields.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser_images.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser_images.php (.../adduser_images.php) (revision 2536) +++ trunk/admin/users/adduser_images.php (.../adduser_images.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/email/sendmail.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/email/sendmail.php (.../sendmail.php) (revision 2536) +++ trunk/admin/email/sendmail.php (.../sendmail.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/editor/FCKeditor/filemanager/upload/php/upload.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/editor/FCKeditor/filemanager/upload/php/upload.php (.../upload.php) (revision 2536) +++ trunk/admin/editor/FCKeditor/filemanager/upload/php/upload.php (.../upload.php) (revision 2569) @@ -1,41 +1,23 @@ Get("Site_Path"); - $admin = $objConfig->Get("AdminDirectory"); - if(!strlen($admin)) - $admin = "admin"; - $adminURL = $rootURL.$admin; - - $UPLOAD_BASE_URL = $rootURL."kernel/images/"; - $UPLOAD_BASE_DIR = $pathtoroot."kernel/images/"; - - // End int var - - ?> - - - - - File Uploader - - -
- - - - -
- Upload in progress... -

-
'; - } else { - if (is_uploaded_file($HTTP_POST_FILES['FCKeditor_File']['tmp_name'])) { - $savefile = $UPLOAD_BASE_DIR.$HTTP_POST_FILES['FCKeditor_File']['name']; - - if (move_uploaded_file($HTTP_POST_FILES['FCKeditor_File']['tmp_name'], $savefile)) { - chmod($savefile, 0666); - ?> - "; -
'; - } ?> -
-
- - Index: trunk/admin/config/importlang.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/importlang.php (.../importlang.php) (revision 2536) +++ trunk/admin/config/importlang.php (.../importlang.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/modules/mod_status.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/modules/mod_status.php (.../mod_status.php) (revision 2536) +++ trunk/admin/modules/mod_status.php (.../mod_status.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory_custom.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory_custom.php (.../addcategory_custom.php) (revision 2536) +++ trunk/admin/category/addcategory_custom.php (.../addcategory_custom.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/logs/session_list.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/logs/session_list.php (.../session_list.php) (revision 2536) +++ trunk/admin/logs/session_list.php (.../session_list.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addpermission.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addpermission.php (.../addpermission.php) (revision 2536) +++ trunk/admin/category/addpermission.php (.../addpermission.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory_images.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory_images.php (.../addcategory_images.php) (revision 2536) +++ trunk/admin/category/addcategory_images.php (.../addcategory_images.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_list.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_list.php (.../user_list.php) (revision 2536) +++ trunk/admin/users/user_list.php (.../user_list.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/backup1.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/backup1.php (.../backup1.php) (revision 2536) +++ trunk/admin/backup/backup1.php (.../backup1.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/install/upgrade_errors.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/install/upgrade_errors.php (.../upgrade_errors.php) (revision 2536) +++ trunk/admin/install/upgrade_errors.php (.../upgrade_errors.php) (revision 2569) @@ -21,6 +21,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/backup2.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/backup2.php (.../backup2.php) (revision 2536) +++ trunk/admin/backup/backup2.php (.../backup2.php) (revision 2569) @@ -20,6 +20,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/group_select.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/group_select.php (.../group_select.php) (revision 2536) +++ trunk/admin/users/group_select.php (.../group_select.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_addpermission.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_addpermission.php (.../user_addpermission.php) (revision 2536) +++ trunk/admin/users/user_addpermission.php (.../user_addpermission.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/backup3.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/backup3.php (.../backup3.php) (revision 2536) +++ trunk/admin/backup/backup3.php (.../backup3.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/relations/item_type.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/relations/item_type.php (.../item_type.php) (revision 2536) +++ trunk/admin/relations/item_type.php (.../item_type.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_editgroup.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_editgroup.php (.../user_editgroup.php) (revision 2536) +++ trunk/admin/users/user_editgroup.php (.../user_editgroup.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/addgroup_permissions.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/addgroup_permissions.php (.../addgroup_permissions.php) (revision 2536) +++ trunk/admin/users/addgroup_permissions.php (.../addgroup_permissions.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/addrule.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/addrule.php (.../addrule.php) (revision 2536) +++ trunk/admin/users/addrule.php (.../addrule.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/addreview_direct.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/addreview_direct.php (.../addreview_direct.php) (revision 2536) +++ trunk/admin/addreview_direct.php (.../addreview_direct.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/modules/upgrade_lic.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/modules/upgrade_lic.php (.../upgrade_lic.php) (revision 2536) +++ trunk/admin/modules/upgrade_lic.php (.../upgrade_lic.php) (revision 2569) @@ -20,6 +20,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addlang_labels.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addlang_labels.php (.../addlang_labels.php) (revision 2536) +++ trunk/admin/config/addlang_labels.php (.../addlang_labels.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/tag_listing.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/tag_listing.php (.../tag_listing.php) (revision 2536) +++ trunk/admin/tag_listing.php (.../tag_listing.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/config_search.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/config_search.php (.../config_search.php) (revision 2536) +++ trunk/admin/config/config_search.php (.../config_search.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/advanced_view.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/advanced_view.php (.../advanced_view.php) (revision 2536) +++ trunk/admin/advanced_view.php (.../advanced_view.php) (revision 2569) @@ -58,6 +58,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/tools/sql_query.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/tools/sql_query.php (.../sql_query.php) (revision 2536) +++ trunk/admin/tools/sql_query.php (.../sql_query.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_mail.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_mail.php (.../user_mail.php) (revision 2536) +++ trunk/admin/users/user_mail.php (.../user_mail.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser_items.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser_items.php (.../adduser_items.php) (revision 2536) +++ trunk/admin/users/adduser_items.php (.../adduser_items.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/config_lang.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/config_lang.php (.../config_lang.php) (revision 2536) +++ trunk/admin/config/config_lang.php (.../config_lang.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser_permissions.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser_permissions.php (.../adduser_permissions.php) (revision 2536) +++ trunk/admin/users/adduser_permissions.php (.../adduser_permissions.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/editor/FCKeditor/css/fck_editorarea.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/editor/FCKeditor/css/fck_editorarea.php (.../fck_editorarea.php) (revision 2536) +++ trunk/admin/editor/FCKeditor/css/fck_editorarea.php (.../fck_editorarea.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/cat_select.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/cat_select.php (.../cat_select.php) (revision 2536) +++ trunk/admin/cat_select.php (.../cat_select.php) (revision 2569) @@ -37,6 +37,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/logs/summary.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/logs/summary.php (.../summary.php) (revision 2536) +++ trunk/admin/logs/summary.php (.../summary.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory_relations.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory_relations.php (.../addcategory_relations.php) (revision 2536) +++ trunk/admin/category/addcategory_relations.php (.../addcategory_relations.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/editor/editor_new.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/editor/editor_new.php (.../editor_new.php) (revision 2536) +++ trunk/admin/editor/editor_new.php (.../editor_new.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/browse.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/browse.php (.../browse.php) (revision 2536) +++ trunk/admin/browse.php (.../browse.php) (revision 2569) @@ -61,6 +61,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/kernel/admin_templates/incs/grid_blocks.tpl =================================================================== diff -u -N -r2566 -r2569 --- trunk/kernel/admin_templates/incs/grid_blocks.tpl (.../grid_blocks.tpl) (revision 2566) +++ trunk/kernel/admin_templates/incs/grid_blocks.tpl (.../grid_blocks.tpl) (revision 2569) @@ -76,7 +76,7 @@ - + @@ -88,7 +88,7 @@ - +
@@ -99,7 +99,7 @@ - +
@@ -111,7 +111,7 @@ - +
@@ -122,7 +122,7 @@ - +
@@ -134,19 +134,19 @@ - + - + - +
" name="" value=""> :
);" title=""> @@ -220,7 +220,7 @@
- + nobottomnotop"> Index: trunk/admin/config/addlang_export_result.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addlang_export_result.php (.../addlang_export_result.php) (revision 2536) +++ trunk/admin/config/addlang_export_result.php (.../addlang_export_result.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addtheme.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addtheme.php (.../addtheme.php) (revision 2536) +++ trunk/admin/config/addtheme.php (.../addtheme.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/help/credits.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/help/credits.php (.../credits.php) (revision 2536) +++ trunk/admin/help/credits.php (.../credits.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/importlang_progress.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/importlang_progress.php (.../importlang_progress.php) (revision 2536) +++ trunk/admin/config/importlang_progress.php (.../importlang_progress.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/install/prerequisit_errors.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/install/prerequisit_errors.php (.../prerequisit_errors.php) (revision 2536) +++ trunk/admin/install/prerequisit_errors.php (.../prerequisit_errors.php) (revision 2569) @@ -23,6 +23,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/email_edit.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/email_edit.php (.../email_edit.php) (revision 2536) +++ trunk/admin/config/email_edit.php (.../email_edit.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addcategory_permissions.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addcategory_permissions.php (.../addcategory_permissions.php) (revision 2536) +++ trunk/admin/category/addcategory_permissions.php (.../addcategory_permissions.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_groups.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_groups.php (.../user_groups.php) (revision 2536) +++ trunk/admin/users/user_groups.php (.../user_groups.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/modules/addmodule.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/modules/addmodule.php (.../addmodule.php) (revision 2536) +++ trunk/admin/modules/addmodule.php (.../addmodule.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/user_addimage.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/user_addimage.php (.../user_addimage.php) (revision 2536) +++ trunk/admin/users/user_addimage.php (.../user_addimage.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/group_mail.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/group_mail.php (.../group_mail.php) (revision 2536) +++ trunk/admin/users/group_mail.php (.../group_mail.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addlang_email.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addlang_email.php (.../addlang_email.php) (revision 2536) +++ trunk/admin/config/addlang_email.php (.../addlang_email.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/email/do_send.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/email/do_send.php (.../do_send.php) (revision 2536) +++ trunk/admin/email/do_send.php (.../do_send.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addimage.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addimage.php (.../addimage.php) (revision 2536) +++ trunk/admin/category/addimage.php (.../addimage.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/tools/sql_result.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/tools/sql_result.php (.../sql_result.php) (revision 2536) +++ trunk/admin/tools/sql_result.php (.../sql_result.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/editor/FCKeditor/fckeditor.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/editor/FCKeditor/fckeditor.php (.../fckeditor.php) (revision 2536) +++ trunk/admin/editor/FCKeditor/fckeditor.php (.../fckeditor.php) (revision 2569) @@ -36,6 +36,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/help/help.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/help/help.php (.../help.php) (revision 2536) +++ trunk/admin/help/help.php (.../help.php) (revision 2569) @@ -19,6 +19,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/editor/editor.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/editor/editor.php (.../editor.php) (revision 2536) +++ trunk/admin/editor/editor.php (.../editor.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/addgroup.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/addgroup.php (.../addgroup.php) (revision 2536) +++ trunk/admin/users/addgroup.php (.../addgroup.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/restore1.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/restore1.php (.../restore1.php) (revision 2536) +++ trunk/admin/backup/restore1.php (.../restore1.php) (revision 2569) @@ -20,6 +20,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/category/addpermission_modules.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/category/addpermission_modules.php (.../addpermission_modules.php) (revision 2536) +++ trunk/admin/category/addpermission_modules.php (.../addpermission_modules.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/restore2.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/restore2.php (.../restore2.php) (revision 2536) +++ trunk/admin/backup/restore2.php (.../restore2.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addlang_export.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addlang_export.php (.../addlang_export.php) (revision 2536) +++ trunk/admin/config/addlang_export.php (.../addlang_export.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/restore3.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/restore3.php (.../restore3.php) (revision 2536) +++ trunk/admin/backup/restore3.php (.../restore3.php) (revision 2569) @@ -22,6 +22,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/index.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/index.php (.../index.php) (revision 2536) +++ trunk/admin/index.php (.../index.php) (revision 2569) @@ -32,6 +32,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/restore4.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/restore4.php (.../restore4.php) (revision 2536) +++ trunk/admin/backup/restore4.php (.../restore4.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/banuser.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/banuser.php (.../banuser.php) (revision 2536) +++ trunk/admin/users/banuser.php (.../banuser.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/config/addcustomfield.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/config/addcustomfield.php (.../addcustomfield.php) (revision 2536) +++ trunk/admin/config/addcustomfield.php (.../addcustomfield.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/banlist_apply.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/banlist_apply.php (.../banlist_apply.php) (revision 2536) +++ trunk/admin/users/banlist_apply.php (.../banlist_apply.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/addgroup_users.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/addgroup_users.php (.../addgroup_users.php) (revision 2536) +++ trunk/admin/users/addgroup_users.php (.../addgroup_users.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/users/adduser_groups.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/users/adduser_groups.php (.../adduser_groups.php) (revision 2536) +++ trunk/admin/users/adduser_groups.php (.../adduser_groups.php) (revision 2569) @@ -31,6 +31,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1); Index: trunk/admin/backup/export1.php =================================================================== diff -u -N -r2536 -r2569 --- trunk/admin/backup/export1.php (.../export1.php) (revision 2536) +++ trunk/admin/backup/export1.php (.../export1.php) (revision 2569) @@ -18,6 +18,7 @@ } $p = $path.$pathchar; /*Start looking for the root flag file */ + if( !isset($pathtoroot) ) $pathtoroot = ''; while(!strlen($pathtoroot) && strlen($p)) { $sub = substr($p,strlen($pathchar)*-1);