Skip to content

Commit

Permalink
Added setlocale() call to bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Nov 24, 2009
1 parent 116bb88 commit 29fa433
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions application/bootstrap.php
Expand Up @@ -5,15 +5,23 @@
/**
* Set the default time zone.
*
* @see http://docs.kohanaphp.com/features/localization#time
* @see http://docs.kohanaphp.com/about.configuration
* @see http://php.net/timezones
*/
date_default_timezone_set('America/Chicago');

/**
* Set the default locale.
*
* @see http://docs.kohanaphp.com/about.configuration
* @see http://php.net/setlocale
*/
setlocale(LC_ALL, 'en_US.utf-8');

/**
* Enable the Kohana auto-loader.
*
* @see http://docs.kohanaphp.com/features/autoloading
* @see http://docs.kohanaphp.com/about.autoloading
* @see http://php.net/spl_autoload_register
*/
spl_autoload_register(array('Kohana', 'auto_load'));
Expand Down

0 comments on commit 29fa433

Please sign in to comment.