1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

default timezone

This commit is contained in:
Savetheinternet 2011-05-21 22:49:47 +10:00
parent c1a2a216e2
commit 24932a15bf
2 changed files with 5 additions and 0 deletions

View File

@ -588,6 +588,9 @@
// http://php.net/manual/en/function.date.php // http://php.net/manual/en/function.date.php
$config['post_date'] = 'm/d/y (D) H:i:s'; $config['post_date'] = 'm/d/y (D) H:i:s';
// Timezone
$config['timezone'] = 'America/Los_Angeles';
// Always act as if they had typed "noko" in the email field no mattter what // Always act as if they had typed "noko" in the email field no mattter what
$config['always_noko'] = false; $config['always_noko'] = false;

View File

@ -25,6 +25,8 @@
$debug['start'] = time(); $debug['start'] = time();
} }
date_default_timezone_set($config['timezone']);
if(!isset($config['url_stylesheet'])) if(!isset($config['url_stylesheet']))
$config['url_stylesheet'] = $config['root'] . 'style.css'; $config['url_stylesheet'] = $config['root'] . 'style.css';
if(!isset($config['url_javascript'])) if(!isset($config['url_javascript']))