Index: trunk/admin/email/sendmail.php =================================================================== diff -u -N -r374 -r2536 --- trunk/admin/email/sendmail.php (.../sendmail.php) (revision 374) +++ trunk/admin/email/sendmail.php (.../sendmail.php) (revision 2536) @@ -13,7 +13,7 @@ ## privileges along maximum prosecution allowed by law. ## ############################################################## //$pathtoroot=""; -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