Welcome Guest, Not a member yet? Register   Sign In
Load Model in subdirectory (3 level)
#11

[eluser]Matalina[/eluser]
Check the capitalization of your file. I get that and stumble until I realize duh, it can't be a capital letter on the file name. It must be lowercase.
#12

[eluser]Glazz[/eluser]
[quote author="Matalina" date="1337011850"]Check the capitalization of your file. I get that and stumble until I realize duh, it can't be a capital letter on the file name. It must be lowercase.[/quote]

He says he is on windows, and windows works fine with something like "Test , test or tEsT" when loading the model.

Code:
$this->load->model('teste/1/2/3/4/5/TeSte_model', 'testingg');
echo $this->testingg->test();

And my file name is teste_model, and it works just fine, on linux it fails of course.





Theme © iAndrew 2016 - Forum software by © MyBB