Browse Source

Supress PHP errors because we catch them ourselves.

Thijs Kinkhorst 22 năm trước cách đây
mục cha
commit
ad6eef9bfb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      include/options/personal.php

+ 1 - 1
include/options/personal.php

@@ -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(!$fd = fopen($tzfile ,'r')) {
+        if(!$fd = @fopen($tzfile ,'r')) {
             $message = _("Error opening timezone config, contact administrator.");
             plain_error_message($message, $color);
             exit;