From c753235098227b8f2a72c68d2c8faddb202fab04 Mon Sep 17 00:00:00 2001 From: Drew Amato <drewamato@gmail.com> Date: Tue, 28 Jun 2005 21:31:26 +0200 Subject: [PATCH] purgefile fix for non standard cachedir #429 darcs-hash:20050628193126-4d95a-ca1821ae6db6c0d7af518be19f3eb36be06ea1bf.gz --- inc/parserutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/parserutils.php b/inc/parserutils.php index 9046cfdbe..1dbc1430f 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -68,7 +68,7 @@ function p_locale_xhtml($id){ function p_cached_xhtml($file){ global $conf; $cache = getCacheName($file.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.xhtml'); - $purge = $conf['datadir'].'/_cache/purgefile'; + $purge = $conf['cachedir'].'/purgefile'; // check if cache can be used $cachetime = @filemtime($cache); // 0 if not exists -- GitLab