소스 검색

fixed timezone in bash_sync_perms

Piotr Labudda 8 년 전
부모
커밋
ae0ef35acd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      SE/bash_sync_perms.php

+ 1 - 0
SE/bash_sync_perms.php

@@ -75,6 +75,7 @@ define('APP_PATH_CONFIG', APP_PATH_ROOT . DS . 'config');
 ini_set('display_startup_errors', '0');
 ini_set('log_errors', '1');
 ini_set('error_log', '/var/log/apache2/error_log');// TODO: php.ini ?
+date_default_timezone_set('Europe/Warsaw');// PHP 5 >= 5.1.0 required by date functions
 
 require_once APP_PATH_ROOT . DS . 'se-lib' . DS . 'Lib.php';
 Lib::loadClass('V');