I can't make to Config_Database work.
I'm enabling new Config Source that way:
Kohana::$config->attach(new Config_Database, FALSE);
I'm loading that source after loading modules - in the bottom of bootstrap.php file.
I get this error when I'm trying to enable this Config Source
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261900 bytes) in /var/www/moje/modules/database/classes/kohana/config/database/writer.php on line 124
Line 124 in file (.../)database/writer.php doesnt exists - it has only 111 lines.
What's going wrong?
edit: Kohana 3.2