Index: trunk/admin/email/do_send.php =================================================================== diff -u -N -r534 -r2536 --- trunk/admin/email/do_send.php (.../do_send.php) (revision 534) +++ trunk/admin/email/do_send.php (.../do_send.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