Loading Config from Database |
[eluser]Arrow768[/eluser]
Hi, I am trying to load my additional config from a Database. After some Google´ing I found the Hook-Method from vbsaltydog. (http://ellislab.com/forums/viewreply/967955/) When I load my page, I get the following Error: Code: A PHP Error was encountered What I have done until now: I load the database library with autoload I have enabled the Hooks in the config.php file I tried to make a var_dump of $CI (result is NULL) It would be great if you could help me with my problem. This are my files: hooks/config.php Code: <?php if ( !defined('BASEPATH') ) exit('No direct script access allowed'); config/hooks.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); log-file Code: DEBUG - 2012-09-07 19:09:23 --> Config Class Initialized |
Messages In This Thread |
Loading Config from Database - by El Forum - 09-07-2012, 11:02 AM
Loading Config from Database - by El Forum - 09-07-2012, 12:44 PM
Loading Config from Database - by El Forum - 09-07-2012, 01:11 PM
Loading Config from Database - by El Forum - 09-07-2012, 01:32 PM
Loading Config from Database - by El Forum - 09-07-2012, 01:41 PM
Loading Config from Database - by El Forum - 09-17-2012, 12:50 PM
|