Welcome Guest, Not a member yet? Register   Sign In
is require_once required in CI?
#3

[eluser]mason22[/eluser]
[quote author="Ben Edmunds" date="1261198138"]No they do. Check your default extension in config.php. And make sure you put MY_Controller in the libraries folder.[/quote]

"no they do" as in there is an easier way? I assumed there was a way for CI to automatically load it by looking at the prefix. My prefix is set to MY_ but it still comes up with errors.

this is the error that I get....

Fatal error: Class 'MY_Common' not found in /opt/lampp/htdocs/test/system/application/controllers/contact.php on line 3


Messages In This Thread
is require_once required in CI? - by El Forum - 12-18-2009, 04:04 PM
is require_once required in CI? - by El Forum - 12-18-2009, 04:48 PM
is require_once required in CI? - by El Forum - 12-18-2009, 05:21 PM
is require_once required in CI? - by El Forum - 12-18-2009, 06:02 PM
is require_once required in CI? - by El Forum - 12-18-2009, 06:26 PM
is require_once required in CI? - by El Forum - 12-18-2009, 10:25 PM
is require_once required in CI? - by El Forum - 12-18-2009, 10:30 PM
is require_once required in CI? - by El Forum - 12-18-2009, 10:35 PM
is require_once required in CI? - by El Forum - 12-18-2009, 10:37 PM
is require_once required in CI? - by El Forum - 12-19-2009, 05:02 AM
is require_once required in CI? - by El Forum - 12-19-2009, 12:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB