Adding transparent extension support to Log and Config classes - refs #3129

This commit is contained in:
Kiall Mac Innes 2010-12-06 03:00:29 +00:00
parent b730be82de
commit 0668002cea

View file

@ -70,12 +70,12 @@ Kohana::init(array(
/**
* Attach the file write to logging. Multiple writers are supported.
*/
Kohana::$log->attach(new Kohana_Log_File(APPPATH.'logs'));
Kohana::$log->attach(new Log_File(APPPATH.'logs'));
/**
* Attach a file reader to config. Multiple readers are supported.
*/
Kohana::$config->attach(new Kohana_Config_File);
Kohana::$config->attach(new Config_File);
/**
* Enable modules. Modules are referenced by a relative or absolute path.