[eluser]Unknown[/eluser]
I was building a class "setting" to use "const",and I put in the "application/config" directory, but when executing Setting:: they have error Fatal error: Class 'Setting' not found in D: \ appserv \ www \ news \ application \ controllers...
Please help me!
[eluser]Nick_MyShuitings[/eluser]
True. The CI way to do functions like that is usually to create and load a helper. However if he wants to break out of the mold all he would need to do is require the file and he can use the static functions as he wants.
[eluser]Unknown[/eluser]
I'm still fine in version 1.73, at version 2,02 -> failed, i move it to directory "libraries" and set autoload, rename class Setting -> My_Setting does not error message again