Merge branch '3.1.x' of github.com:kohana/kohana into 3.1.x

This commit is contained in:
BRMatt 2010-09-22 12:11:11 +01:00
commit fc7cb2ccf5

View file

@ -36,6 +36,15 @@ ini_set('unserialize_callback_func', 'spl_autoload_call');
//-- Configuration and initialization -----------------------------------------
/**
* Set Kohana::$environment if $_ENV['KOHANA_ENV'] has been supplied.
*
*/
if (isset($_ENV['KOHANA_ENV']))
{
Kohana::$environment = $_ENV['KOHANA_ENV'];
}
/**
* Initialize Kohana, setting the default options.
*