Welcome Guest, Not a member yet? Register   Sign In
(solved) Why I can't load MY_ libraries?
#2

[eluser]Ellli[/eluser]
if you have in your config file:
Code:
$config['subclass_prefix'] = 'MY_';

than this:
Code:
$this->load->library("MY_Form_validation"); // my library
should be:
Code:
$this->load->library("Form_validation"); // my library

and as for helpers if you use them, than as i remember u don't have to use $this->. you just call the function.


Messages In This Thread
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 09:21 AM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 10:08 AM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 10:15 AM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 10:26 AM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 12:03 PM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 12:23 PM
(solved) Why I can't load MY_ libraries? - by El Forum - 05-22-2011, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB