Index: trunk/admin/cat_select.php =================================================================== diff -u -r1566 -r2536 --- trunk/admin/cat_select.php (.../cat_select.php) (revision 1566) +++ trunk/admin/cat_select.php (.../cat_select.php) (revision 2536) @@ -18,7 +18,7 @@ $b_header_addon = "
"; $pathtoroot=""; -if(!strlen($pathtoroot)) +if( !(isset($pathtoroot) && $pathtoroot) ) { $path=dirname(realpath(__FILE__)); if(strlen($path)) @@ -61,7 +61,7 @@ $p = ""; } } - if(!strlen($pathtoroot)) + if( !(isset($pathtoroot) && $pathtoroot) ) $pathtoroot = ".".$pathchar; } else