Overide Codeigniter ntaive library how ? |
[eluser]runrun[/eluser]
I still won't work, the loader class is just keeping loading views from the views folder. I guess I'm going back to 1.7.2, because this is not the only problem I'm having with CI 2.0.2
[eluser]InsiteFX[/eluser]
Like I said above you may not be able to over ride the Constructor! InsiteFX
[eluser]toopay[/eluser]
[quote author="InsiteFX" date="1304344445"]You are all wrong because it is looking for an associated array!...[/quote] Hey, what is you're talking about? Look again at Loader.php class on 'system/core', there no such thing you mention about array or associated array! Code: class MY_Loader extends CI_Loader {
[eluser]InsiteFX[/eluser]
Code: protected $_ci_view_paths = array(); InsiteFX
[eluser]toopay[/eluser]
@InsiteFX, Here, i include the code inside Loader.php at system/core... Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
[eluser]InsiteFX[/eluser]
@toopay Quote:@InsiteFX, So what version of CI are you talking about? SEE! That is the problem your showing CI Reactor code not CI core code. CI Core Version 2.0.1 and CI Version 2.0.2 not Reactor. Code: /** InsiteFX
[eluser]toopay[/eluser]
Crap. I'm forgot we are in Core section. It just always ringing in my head, as stated at some CodeIgniter News : "When you see “CodeIgniter” by itself on this web site, it is referring to CodeIgniter Reactor." Ok InsiteFX, i have SEE(with your bold font), what you mean now ;-)
[eluser]InsiteFX[/eluser]
No problem toopay, but you can see that having the 2 different versions is very confusing! It had me going by your code so I checked the Reactor code and then saw it. So we were both right LOL! I kind of stay away from the Reactor code and use the Core code! But I do have both versions installed. InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |