CodeIgniter Forums
Adding a custom cache driver - 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: Adding a custom cache driver (/showthread.php?tid=47787)



Adding a custom cache driver - El Forum - 12-22-2011

[eluser]Ordos[/eluser]
I created my own cache driver located in application/libraries/Cache/drivers/Cache_xxx.php. But CodeIgniter will not auto-detect this driver. The only way I got the driver to work up till now was to manually edit the 'valid_drivers' inside system/libraries/Cache/Cache.php.

Is there a way to force CodeIgniter to auto-detect this or was this not built in? Maybe a feature for future releases?