Timezone settings #3
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
*
|
||||
* Unicode Reminder メモ
|
||||
*
|
||||
* Default settings for developer system. See also
|
||||
* - config2/settings-dist.inc.php for global default settings
|
||||
* Default settings for OC.de developer system. See also
|
||||
* - config2/settings-dist.inc.php for sample settings
|
||||
* - config2/settings.inc.php for local settings
|
||||
* - lib/settings* for version-1-code settings
|
||||
***************************************************************************/
|
||||
|
||||
@@ -61,6 +61,9 @@
|
||||
require_once($opt['rootpath'] . 'lib/calculation.inc.php');
|
||||
require_once($opt['rootpath'] . 'lib/consts.inc.php');
|
||||
|
||||
// timezone
|
||||
date_default_timezone_set($timezone);
|
||||
|
||||
$dblink_slave = false;
|
||||
|
||||
// sql debugger?
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
*
|
||||
* Unicode Reminder メモ
|
||||
*
|
||||
* Default settings for developer system. See also
|
||||
* - settings-dist.inc.php for global default settings
|
||||
* Default settings for OC.de developer system. See also
|
||||
* - settings-dist.inc.php for sample settings
|
||||
* - settings.inc.php for local settings
|
||||
* - config2/settings* for version-2-code settings
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
//default used language
|
||||
if (!isset($lang)) $lang = 'de';
|
||||
|
||||
//default timezone
|
||||
if (!isset($timezone)) $timezone = 'Europe/Berlin';
|
||||
|
||||
//default used style
|
||||
if (!isset($style)) $style = 'ocstyle';
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
|
||||
//default used language
|
||||
if (!isset($lang)) $lang = 'de';
|
||||
|
||||
|
||||
//default timezone
|
||||
if (!isset($timezone)) $timezone = 'Europe/Berlin';
|
||||
|
||||
//default used style
|
||||
if (!isset($style)) $style = 'ocstyle';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user