[eluser]Patrick Maciel | @p4designer[/eluser]
I found a solution!
I think for load the library
you need write name in "lower case", but,
NOT!
When I change the autload.php for:
Code:
// Now works :)
$autoload['libraries'] = array('CurrentMenu');
// This below, not work for me
$autoload['libraries'] = array('currentmenu');
So.... to load a library in CodeIgniter 1.7.2, you must enter the library name like the name of the class - class NameHere - "capitalize."
BUT... for use the library functions you need
write library name in lower case.
Code:
$this->currentmenu->seAtual("home", "home", "current");
Observations:
In my note (localhost), PHP version is 5.3.1, and in server/host is 5.2.6.
I guess it was not the problem but not sure.
Why, anyway, on my laptop works the "autoload" in "lower case" but not on the server.
I hope I have helped someone with this.
now, grateful for the support.