Supress PHP errors because we catch them ourselves.
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 8 Jan 2003 08:20:34 +0000 (08:20 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 8 Jan 2003 08:20:34 +0000 (08:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4399 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/options/personal.php

index fb532f92affee07584c9fb51bf9d961ed2a45b13..e0b7ad2a9035418c805518b1083fea090b7aac9c 100644 (file)
@@ -121,7 +121,7 @@ function load_optpage_data_personal() {
     if ( $tzChangeAllowed ) {
         $TZ_ARRAY[SMPREF_NONE] = _("Same as server");
         $tzfile = SM_PATH . 'locale/timezones.cfg';
     if ( $tzChangeAllowed ) {
         $TZ_ARRAY[SMPREF_NONE] = _("Same as server");
         $tzfile = SM_PATH . 'locale/timezones.cfg';
-        if(!$fd = fopen($tzfile ,'r')) {
+        if(!$fd = @fopen($tzfile ,'r')) {
             $message = _("Error opening timezone config, contact administrator.");
             plain_error_message($message, $color);
             exit;
             $message = _("Error opening timezone config, contact administrator.");
             plain_error_message($message, $color);
             exit;