summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
authorDrew Amato <drewamato@gmail.com>2005-06-28 21:31:26 +0200
committerDrew Amato <drewamato@gmail.com>2005-06-28 21:31:26 +0200
commitc753235098227b8f2a72c68d2c8faddb202fab04 (patch)
tree2eb786fb8a9a3b277f218301f9d3f466d5c8658b /inc/parserutils.php
parenta027b4a350754c6108cf70d555658b929c44b1fe (diff)
downloadrpg-c753235098227b8f2a72c68d2c8faddb202fab04.tar.gz
rpg-c753235098227b8f2a72c68d2c8faddb202fab04.tar.bz2
purgefile fix for non standard cachedir #429
darcs-hash:20050628193126-4d95a-ca1821ae6db6c0d7af518be19f3eb36be06ea1bf.gz
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php2
1 files changed, 1 insertions, 1 deletions
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