Index: trunk/admin/config/module_email.php =================================================================== diff -u -r2287 -r2536 --- trunk/admin/config/module_email.php (.../module_email.php) (revision 2287) +++ trunk/admin/config/module_email.php (.../module_email.php) (revision 2536) @@ -13,7 +13,7 @@ ## result in revocation of the license and support ## ## privileges along maximum prosecution allowed by law. ## ############################################################## -if(!strlen($pathtoroot)) +if( !(isset($pathtoroot) && $pathtoroot) ) { $path=dirname(realpath(__FILE__)); if(strlen($path)) @@ -56,7 +56,7 @@ $p = ""; } } - if(!strlen($pathtoroot)) + if( !(isset($pathtoroot) && $pathtoroot) ) $pathtoroot = ".".$pathchar; } else