summaryrefslogtreecommitdiff
path: root/inc/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-12-13 10:04:00 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-12-13 10:04:00 +0100
commitfa8adffee31ae8c6e5563badf3926e523032f5e2 (patch)
treeec93ca67cbdd394aba222c1ad66a251758469dd2 /inc/indexer.php
parent3dea4ebc5f730a60750f86e532775810508acae5 (diff)
downloadrpg-fa8adffee31ae8c6e5563badf3926e523032f5e2.tar.gz
rpg-fa8adffee31ae8c6e5563badf3926e523032f5e2.tar.bz2
removed some illogical path setups
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
Diffstat (limited to 'inc/indexer.php')
-rw-r--r--inc/indexer.php9
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);