pronto/bin/flush_cache.php File Reference

Go to the source code of this file.

Variables

 if (!file_exists('profiles/cmdline.php'))

Variable Documentation

if

PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet

Author:
Judd Vinet <jvinet@zeroflux.org>

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.


Generated on Wed Jan 13 09:21:02 2010 for Pronto Framework by  doxygen 1.6.1