Packages - Replacing Native Libraries |
I think you can't overwrite core libaries with 'third-party' directory.
In the CI 3 doc : Quote:Replacing Native Libraries with Your Versions http://www.codeigniter.com/userguide3/ge...aries.html I had the same problem and rewrite my library profiler in application/libraries/Profiler.php. Now, everything works fine.
I'have analyzed Loader.php and Replacing Native Libraries only works in APPPATH/libraries.
But the question is should packages have ability to overwrite native libraries? This would be usefull, as we could write packages that may overwrite every aspect of CI and use them between many CI apps... What do u think? |
Welcome Guest, Not a member yet? Register Sign In |