소스 검색

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;