diff --git a/inc/parserutils.php b/inc/parserutils.php
index 9046cfdbe826b381697f276268d59d7e9c52f86c..1dbc1430fde95c100532edc94111097f82e4700c 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