Hi Dave,
Please correct your definition for "short" - change the path to:
    'path' => CACHE
or
    'path' => CACHE . 'short' . DS

if you want the short cache to be in the subdiretory "short".

Enjoy,
   John


On Jan 10, 4:42 am, "Dave" <[email protected]> wrote:
> Files show up in the cache folder as default_country_cache or
> default_state_cache
>
> Cache::config('default', array(  
>     'engine' => 'File',  
>     'duration'=> '+1 hours',  
>     'prefix' => 'default_',
>     'path' => CACHE
> ));
>
>         Cache::config('short', array(  
>     'engine' => 'File',  
>     'duration'=> '+1 hours',
>     'prefix' => 'short_',
>     'path' => 'short'
> ));
>
> // long  
> Cache::config('long', array(  
>     'engine' => 'File',  
>     'duration'=> '+1 week',  
>     'probability'=> 100,  
>     'prefix' => 'long_',
>     'path' => CACHE . 'long' . DS,
> ));
>
[snip]
Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to