浏览代码

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');