From e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 29 Jul 2005 17:54:57 +0200 Subject: DOKU_CONF define for config directory #479 darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz --- inc/parserutils.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc/parserutils.php') diff --git a/inc/parserutils.php b/inc/parserutils.php index 349e83725..1bf36c5fd 100644 --- a/inc/parserutils.php +++ b/inc/parserutils.php @@ -78,8 +78,8 @@ function p_cached_xhtml($file){ && ((time() - $cachetime) < $conf['cachetime']) // and is cachefile young enough && !isset($_REQUEST['purge']) // no purge param was set && ($cachetime > @filemtime($purge)) // and newer than the purgefile - && ($cachetime > @filemtime(DOKU_INC.'conf/dokuwiki.php')) // newer than the config file - && ($cachetime > @filemtime(DOKU_INC.'conf/local.php')) // newer than the local config file + && ($cachetime > @filemtime(DOKU_CONF.'dokuwiki.php')) // newer than the config file + && ($cachetime > @filemtime(DOKU_CONF.'local.php')) // newer than the local config file && ($cachetime > @filemtime(DOKU_INC.'inc/parser/xhtml.php')) // newer than the renderer && ($cachetime > @filemtime(DOKU_INC.'inc/parser/parser.php')) // newer than the parser && ($cachetime > @filemtime(DOKU_INC.'inc/parser/handler.php')))// newer than the handler @@ -128,8 +128,8 @@ function p_cached_instructions($file,$cacheonly=false){ if( @file_exists($file) // does the source exist && $cachetime > @filemtime($file) // cache is fresh && !isset($_REQUEST['purge']) // no purge param was set - && ($cachetime > @filemtime(DOKU_INC.'conf/dokuwiki.php')) // newer than the config file - && ($cachetime > @filemtime(DOKU_INC.'conf/local.php')) // newer than the local config file + && ($cachetime > @filemtime(DOKU_CONF.'dokuwiki.php')) // newer than the config file + && ($cachetime > @filemtime(DOKU_CONF.'local.php')) // newer than the local config file && ($cachetime > @filemtime(DOKU_INC.'inc/parser/parser.php')) // newer than the parser && ($cachetime > @filemtime(DOKU_INC.'inc/parser/handler.php')))// newer than the handler { -- cgit v1.2.3