![]() |
Extending cache library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Extending cache library (/showthread.php?tid=66549) |
Extending cache library - zoƩ - 11-03-2016 Hi, trying to extend some methods of the Cache library, creating a MY_Cache.php in the application library folder. But his file seems to be ignored. any idea. The deal is for example to alert admin if a cache cannot be clean or something like that. Thanks RE: Extending cache library - d4mn - 11-03-2016 Create /libraries/Cache/MY_Cache.php and it will work. If you want to extend driver you need to create /libraries/cache/drivers folder. RE: Extending cache library - dave friend - 11-03-2016 Hard to have ideas when we don't have any code to look at. |