瀏覽代碼

Supress PHP errors because we catch them ourselves.

Thijs Kinkhorst 22 年之前
父節點
當前提交
ad6eef9bfb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;