diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-21 22:49:47 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-21 22:49:47 +1000 |
| commit | 24932a15bfca91e7a711d55554a811a32efd4113 (patch) | |
| tree | 2c8b804410e35e9410c667d019649832635652d2 | |
| parent | c1a2a216e2b288ee2e8489825715cf3d2d0cf368 (diff) | |
default timezone
| -rw-r--r-- | inc/config.php | 3 | ||||
| -rw-r--r-- | inc/functions.php | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index 7fa9da2d..12d5f609 100644 --- a/inc/config.php +++ b/inc/config.php @@ -588,6 +588,9 @@ // http://php.net/manual/en/function.date.php $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 $config['always_noko'] = false; diff --git a/inc/functions.php b/inc/functions.php index 231879fa..06674749 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -25,6 +25,8 @@ $debug['start'] = time(); } + date_default_timezone_set($config['timezone']); + if(!isset($config['url_stylesheet'])) $config['url_stylesheet'] = $config['root'] . 'style.css'; if(!isset($config['url_javascript'])) |
