From 871ab9eb66b04b97deba155b6182943736fa66af Mon Sep 17 00:00:00 2001 From: antipode Date: Tue, 11 Dec 2001 05:41:32 +0000 Subject: [PATCH] s/"/'/ git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1848 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/webmail.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webmail.php b/src/webmail.php index ebb9de22..bb4f3d1e 100644 --- a/src/webmail.php +++ b/src/webmail.php @@ -21,7 +21,7 @@ require_once('../functions/plugin.php'); require_once('../functions/i18n.php'); require_once('../functions/auth.php'); -ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs); +ereg( '(^.*/)[^/]+/[^/]+$', $PHP_SELF, $regs); $base_uri = $regs[1]; session_start(); @@ -35,7 +35,7 @@ checkForPrefs($data_dir, $username); * Send him a cookie with his language preference, if there is * such discrepancy. */ -$my_language = getPref($data_dir, $username, "language"); +$my_language = getPref($data_dir, $username, 'language'); if ($my_language != $squirrelmail_language) { setcookie('squirrelmail_language', $my_language, time()+2592000, $base_uri); } @@ -47,8 +47,8 @@ echo ''; echo $org_title; echo ''; -$left_size = getPref($data_dir, $username, "left_size"); -$location_of_bar = getPref($data_dir, $username, "location_of_bar"); +$left_size = getPref($data_dir, $username, 'left_size'); +$location_of_bar = getPref($data_dir, $username, 'location_of_bar'); if ($location_of_bar == '') { $location_of_bar = 'left'; } @@ -99,7 +99,7 @@ elseif ($right_frame == 'compose.php') { $right_frame_url = "compose.php?send_to=$rcptaddress"; } else { - $right_frame_url = "right_main.php"; + $right_frame_url = 'right_main.php'; } if ($location_of_bar == 'right') { -- 2.25.1