Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearCache with path doesn't work #1095

Open
criocere opened this issue Jan 1, 2025 · 1 comment
Open

clearCache with path doesn't work #1095

criocere opened this issue Jan 1, 2025 · 1 comment

Comments

@criocere
Copy link

criocere commented Jan 1, 2025

clearCache() if ok (no parameter)

but I use path as parameter as before in V4 (just switch from v4 to v5), the function doesn't work anymore
clearCache(null, 'Desktop|myTemplate') for exemple is ko (if I use smarty v4 lib, it works!!!)

note 0: I deleted all the cache from v4
note 1: my structure is "Desktop|myTemplate|id of my page"
note 2: I executed clearCache(null, 'Desktop|myTemplate') and I checked my cache and the folder "Desktop|myTemplate" is not deleted or emptied. Nothing happen. In V4 it was ok

@criocere
Copy link
Author

criocere commented Jan 1, 2025

Found after hours!!!
In cache creation mode I use "setUseSubDirs to true" and not when trying to empty the cache

My issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant