diff options
Diffstat (limited to 'inc/search.php')
-rw-r--r-- | inc/search.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/inc/search.php b/inc/search.php index 725cd22c9..d66d51af3 100644 --- a/inc/search.php +++ b/inc/search.php @@ -1,4 +1,4 @@ -<? +<?php /** * DokuWiki search functions * @@ -6,7 +6,8 @@ * @author Andreas Gohr <andi@splitbrain.org> */ - require_once("inc/common.php"); + if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../').'/'); + require_once(DOKU_INC.'inc/common.php'); /** * recurse direcory |