sfSQLiteCacheを使う
Posted by webmaster on 2007-10-08 in symfony
ファイルキャッシュはディレクトリ生成しまくりで、safe_mode下では何かと都合が悪いので、sfSQLiteCacheに変更。
factories.yml内のview_cache設定を以下のようにする。
all:
view_cache:
class: sfSQLiteCache
param:
automaticCleaningFactor: 0
database: %SF_TEMPLATE_CACHE_DIR%/cache.db
トラックバックを送りたい場合は、下のURLの尻に、/tra/prease と付け足してください。