Add a default timezone (reported by gaspine)

This commit is contained in:
Sébastien Lucas 2012-06-23 14:50:50 +02:00
parent cfcafdf7e4
commit 984f1b2a41
2 changed files with 8 additions and 0 deletions

View file

@ -7,6 +7,7 @@
*/
define ("VERSION", "0.1.0");
date_default_timezone_set($config['default_timezone']);
function getURLParam ($name, $default = NULL) {
if (!empty ($_GET) && isset($_GET[$name])) {

View file

@ -66,4 +66,11 @@
* 0 : disable
*/
$config['cops_show_icons'] = "1";
/*
* Default timezone
* Check following link for other timezones :
* http://www.php.net/manual/en/timezones.php
*/
$config['default_timezone'] = "Europe/Paris";
?>