Go to the source code of this file.
Variables | |
| if (!file_exists('profiles/cmdline.php')) | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: Flush the cache of the currently-enabled cache adapter.
NOTE: If using the SHM adapter, you may get "permission denied" errors when trying to connect to the cache. This is likely due to the fact that the UID of the web server is different than the UID that is running this script. By default, Pronto uses '0600' permissions on the cache, so only the UID that created the SHM segment can access it.
A workaround is to enable DEBUG mode and hit an URL in your web app with "?cache_flush" appended to it.
eg, http://localhost/myapp/?cache_flush
Definition at line 23 of file flush_cache.php.
1.6.1