Add a default timezone (reported by gaspine)
This commit is contained in:
parent
cfcafdf7e4
commit
984f1b2a41
1
base.php
1
base.php
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define ("VERSION", "0.1.0");
|
define ("VERSION", "0.1.0");
|
||||||
|
date_default_timezone_set($config['default_timezone']);
|
||||||
|
|
||||||
function getURLParam ($name, $default = NULL) {
|
function getURLParam ($name, $default = NULL) {
|
||||||
if (!empty ($_GET) && isset($_GET[$name])) {
|
if (!empty ($_GET) && isset($_GET[$name])) {
|
||||||
|
|
|
@ -66,4 +66,11 @@
|
||||||
* 0 : disable
|
* 0 : disable
|
||||||
*/
|
*/
|
||||||
$config['cops_show_icons'] = "1";
|
$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";
|
||||||
?>
|
?>
|
Loading…
Reference in a new issue