get_instance() undefined in custom librairies ? :( |
[eluser]doMynation[/eluser]
Good day, Although I've seen many people pretending to do it without any error, I just can't access the CI core base using: Code: $CI =& get_instance(); It says the function is undefined. I need to load some CI ressources (helpers for example) within my library. Am I doing something wrong ? Even the user guide says it's the way to do it: http://ellislab.com/codeigniter/user-gui...aries.html Thank you ! |
Messages In This Thread |
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:11 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:28 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:30 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:34 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:36 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:39 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:45 AM
get_instance() undefined in custom librairies ? :( - by El Forum - 07-10-2009, 11:52 AM
|