Hi,
I wanted to do this:
class LocalShell extends Shell {
function gc(){
Cache::write('test','hello world','short');
}
}
where "short" is one of my cache configurations.
But the console returns:
PHP Fatal error: Call to a member function init() on a non-object in /
mnt/dados3/xpgplus/www.123i.xpg.com.br/cake/libs/cache.php on line 195
Fatal error: Call to a member function init() on a non-object in /mnt/
dados3/xpgplus/www.123i.xpg.com.br/cake/libs/cache.php on line 195
What am I doing wrong?
Thanks
Dérico Filho
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---