summaryrefslogtreecommitdiffstats
path: root/application/config/config.php
diff options
context:
space:
mode:
authorIban Eguia <admin@razican.com>2012-03-27 18:18:15 +0200
committerIban Eguia <admin@razican.com>2012-03-27 18:18:15 +0200
commit8310595f0e80f72ac790478b8a7dfc6470051639 (patch)
tree2639e07bd80bb9a26b5d7e96ead12906dc2b5328 /application/config/config.php
parent67c287192b5ff414753ae50a834932f676a0db9e (diff)
Changed Date helper to return time() based on the timezone parameter.
Diffstat (limited to 'application/config/config.php')
-rw-r--r--application/config/config.php16
1 files changed, 7 insertions, 9 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 2628885f0..4d0e5080a 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -204,7 +204,7 @@ $config['directory_trigger'] = 'd'; // experimental not currently in use
| 4 = All Messages
|
| You can also pass in a array with threshold levels to show individual error types
-|
+|
| array(2) = Debug Messages, without Error Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
@@ -253,7 +253,7 @@ $config['cache_path'] = '';
|
| If you use the Encryption class or the Session class you
| MUST set an encryption key. See the user guide for info.
-|
+|
| http://codeigniter.com/user_guide/libraries/encryption.html
| http://codeigniter.com/user_guide/libraries/sessions.html
|
@@ -297,7 +297,7 @@ $config['sess_time_to_update'] = 300;
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
-| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
+| 'cookie_httponly' = Cookie will only be accessible via HTTP(S) (no javascript)
|
*/
$config['cookie_prefix'] = "";
@@ -359,16 +359,14 @@ $config['compress_output'] = FALSE;
/*
|--------------------------------------------------------------------------
-| Master Time Reference
+| Master Timezone
|--------------------------------------------------------------------------
|
-| Options are 'local' or 'gmt'. This pref tells the system whether to use
-| your server's local time as the master 'now' reference, or convert it to
-| GMT. See the 'date helper' page of the user guide for information
-| regarding date handling.
+| You can set any PHP supported timezones to be the master timezone when
+| you call th now() function.
|
*/
-$config['time_reference'] = 'local';
+$config['timezone'] = 'UTC';
/*