Welcome Guest, Not a member yet? Register   Sign In
Cannot overload cache drivers (memcached)
#2

[eluser]CoderBoy[/eluser]
Hey,

How have you actually managed to override the whole driver?

I'm stuck with the same problem you have, I need to prefix the keys and am not going to touch the core CI code.

I've tried all location I can think of for the file

Code:
application/core/MY_Cache_memcached.php
application/libraries/MY_Cache_memcached.php
application/libraries/Cache/Drivers/MY_Cache_memcached.php

with varying class declarations

Code:
class MY_Cache_memcached extends CI_Cache_memcached {
class MY_Cache_memcached extends Cache_memcached {
class MY_Cache_memcached extends CI_Driver {

What combination did you have?

Thanks


Messages In This Thread
Cannot overload cache drivers (memcached) - by El Forum - 02-08-2011, 03:34 AM
Cannot overload cache drivers (memcached) - by El Forum - 02-09-2011, 05:57 AM
Cannot overload cache drivers (memcached) - by El Forum - 02-09-2011, 06:09 AM
Cannot overload cache drivers (memcached) - by El Forum - 02-09-2011, 06:29 AM
Cannot overload cache drivers (memcached) - by El Forum - 02-09-2011, 06:42 AM
Cannot overload cache drivers (memcached) - by El Forum - 02-09-2011, 07:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB