From 0df6f1508b6f966eb5ca98db664c92db22be06e1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 12 Nov 2006 15:34:40 +0100 Subject: purge option support for js.php and css.php adding ?purge darcs-hash:20061112143440-7ad00-436a63c8ee0279a9aa0423c389967418f8528656.gz --- lib/exe/css.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/exe/css.php') diff --git a/lib/exe/css.php b/lib/exe/css.php index 5e572410f..81f7f3489 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -116,6 +116,8 @@ function css_out(){ * @author Andreas Gohr */ function css_cacheok($cache,$files){ + if($_REQUEST['purge']) return false; //support purge request + $ctime = @filemtime($cache); if(!$ctime) return false; //There is no cache -- cgit v1.2.3