diff options
Diffstat (limited to 'inc/indexer.php')
-rw-r--r-- | inc/indexer.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/inc/indexer.php b/inc/indexer.php index 490ba1393..2d019dc77 100644 --- a/inc/indexer.php +++ b/inc/indexer.php @@ -6,11 +6,10 @@ * @author Andreas Gohr <andi@splitbrain.org> */ - if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../').'/'); - require_once(DOKU_CONF.'dokuwiki.php'); - require_once(DOKU_INC.'inc/io.php'); - require_once(DOKU_INC.'inc/utf8.php'); - require_once(DOKU_INC.'inc/parserutils.php'); +if(!defined('DOKU_INC')) die('meh.'); +require_once(DOKU_INC.'inc/io.php'); +require_once(DOKU_INC.'inc/utf8.php'); +require_once(DOKU_INC.'inc/parserutils.php'); // set the minimum token length to use in the index (note, this doesn't apply to numeric tokens) if (!defined('IDX_MINWORDLENGTH')) define('IDX_MINWORDLENGTH',3); |