summaryrefslogtreecommitdiff
path: root/inc/parserutils.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-07-29 17:54:57 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-07-29 17:54:57 +0200
commite7cb32dcb57d3ae03544db66367d6aaa02f7ddf8 (patch)
tree7d7f82cc8049656bc859ebfc2961d9a2fd2f9918 /inc/parserutils.php
parent9f830448ee35b709be3c303585a230dfbf8582b3 (diff)
downloadrpg-e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8.tar.gz
rpg-e7cb32dcb57d3ae03544db66367d6aaa02f7ddf8.tar.bz2
DOKU_CONF define for config directory #479
darcs-hash:20050729155457-7ad00-94554865259e4cbd6a1c75bb62a93f37304adbf0.gz
Diffstat (limited to 'inc/parserutils.php')
-rw-r--r--inc/parserutils.php8
1 files changed, 4 insertions, 4 deletions
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
{