Explorar el Código

fixed timezone in bash_sync_perms

Piotr Labudda hace 8 años
padre
commit
ae0ef35acd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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('display_startup_errors', '0');
 ini_set('log_errors', '1');
 ini_set('log_errors', '1');
 ini_set('error_log', '/var/log/apache2/error_log');// TODO: php.ini ?
 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';
 require_once APP_PATH_ROOT . DS . 'se-lib' . DS . 'Lib.php';
 Lib::loadClass('V');
 Lib::loadClass('V');