简体   繁体   中英

symfony 1.4 clear cache

I want to add a directory in /cache. ie /cache/custom and if I run command:

./symfony clear:cache

All files in custom directory gets deleted. I don't want these files deleted even if I run ./symfony cc. Any solution?

The cache directory has a different purpose. You should not write your custom files to folders like cache, logs, components, vendor because they are overridden while running some commands or while running the application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM