X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fwebmail.php;h=0220d843a86f9004a4679dec33b5606c128aa62f;hb=0b331da50922bb1b212c8b978b461be463cddaee;hp=5504a343ada596b76847cecf67660d9e862cd477;hpb=025b47dc089f7b9f902cefa4273f8f1cf77f2146;p=squirrelmail.git diff --git a/src/webmail.php b/src/webmail.php index 5504a343..0220d843 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -21,8 +21,10 @@ require_once('../functions/plugin.php'); require_once('../functions/i18n.php'); require_once('../functions/auth.php'); -ereg( '(^.*/)[^/]+/[^/]+$', $PHP_SELF, $regs); -$base_uri = $regs[1]; +if (!function_exists('sqm_baseuri')){ + require_once('../functions/display_messages.php'); +} +$base_uri = sqm_baseuri(); session_start(); is_logged_in(); @@ -59,10 +61,10 @@ if ($left_size == "") { } if ($location_of_bar == 'right') { - echo "