I am not 100% sure if my answer is correct, but PROJECT/lib/symfony/cache/sfCacheFile.class.phpthere is a method in: sfCacheFile::getFilePath()that returns the path to the file. There seems to be no protection against file system restrictions ext2.
- :
PROJECT/apps/APP/config/factories.yml :
default:
view_cache:
class: myOwnFileCache
param:
automatic_cleaning_factor: 0
cache_dir: %SF_TEMPLATE_CACHE_DIR%
lifetime: 86400
prefix: %SF_APP_DIR%/template
, sfFileCache getFilePath()
class myOwnFileCache extends sfFileCache {
protected getFilePath($key) {
$key = substr($key, 0, 1) . DIRECTORY_SEPARATOR . substr($key, 1, 1) . DIRECTORY_SEPARATOR . $key;
return parent::getFilePath($key);
}
}
: ./symfony cc
32000 , /, .