Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Autoload config and models trick
Post: RE: Autoload config and models trick

mwhitney Wrote: (03-27-2015, 07:49 AM) -- Your code indicates you are using some sort of third-party loader (since $this->load->models() is not part of the CI loader), and you would have to connect t...
7,805 Views
0 Replies
04-19-2015, 02:40 PM
Everterstraat
    Thread: Autoload config and models trick
Post: Autoload config and models trick

1: If config exists, load it! 2: If table exists, load model! Code: -- if(is_file($file = APPPATH.'config/'.$this->router->class.'.php') !== false) { $this->config->load($this->router->class);...
7,805 Views
0 Replies
03-27-2015, 06:08 AM
Everterstraat

Theme © iAndrew 2016 - Forum software by © MyBB