summaryrefslogtreecommitdiff
path: root/lib/exe/spellcheck.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe/spellcheck.php')
-rw-r--r--lib/exe/spellcheck.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/spellcheck.php b/lib/exe/spellcheck.php
index e4739b60c..8ed116b8b 100644
--- a/lib/exe/spellcheck.php
+++ b/lib/exe/spellcheck.php
@@ -46,7 +46,7 @@ if(!count($_POST) && $HTTP_RAW_POST_DATA){
parse_str($HTTP_RAW_POST_DATA, $_POST);
}
-if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
+if(!defined('DOKU_INC')) define('DOKU_INC',fullpath(dirname(__FILE__).'/../../').'/');
require_once (DOKU_INC.'inc/init.php');
session_write_close();
require_once (DOKU_INC.'inc/utf8.php');