![]() |
extending CI_Loader fails in php4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: extending CI_Loader fails in php4 (/showthread.php?tid=4072) |
extending CI_Loader fails in php4 - El Forum - 11-05-2007 [eluser]Arjen van Bochoven[/eluser] I know php4 is end-of-life at the start of next year, but it might still take a long time for isp's to make the move to php5. I ran into the following problem, I need to extend CI_Loader to accomodate a function that loads views from an arbitrary filepath: Code: class MY_Loader extends CI_Loader { The only solution I could come up with is tangling with Code: /system/codeigniter/Base4.php Code: class CI_Base extends MY_Loader { Does anyone have a better solution? thnx Arjen |