Jelajahi Sumber

fixed timezone in bash_sync_perms

Piotr Labudda 8 tahun lalu
induk
melakukan
ae0ef35acd
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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');