Adding transparent extension support to Log and Config classes - refs #3129
This commit is contained in:
parent
b730be82de
commit
0668002cea
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue