diff --git a/file.php b/file.php index 59aed8c..b85c0ea 100644 --- a/file.php +++ b/file.php @@ -6,7 +6,7 @@ use dokuwiki\plugin\luxtools\Path; require_once(__DIR__ . '/autoload.php'); -if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/_dokuwiki'); +if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/../../../'); if (!defined('DOKU_DISABLE_GZIP_OUTPUT')) define('DOKU_DISABLE_GZIP_OUTPUT', 1); // we gzip ourself here require_once(DOKU_INC . 'inc/init.php'); diff --git a/pagelink.php b/pagelink.php index 801dca2..ee3dd98 100644 --- a/pagelink.php +++ b/pagelink.php @@ -6,7 +6,7 @@ use dokuwiki\plugin\luxtools\PageLink; require_once(__DIR__ . '/autoload.php'); -if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/_dokuwiki'); +if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/../../../'); require_once(DOKU_INC . 'inc/init.php'); global $INPUT; diff --git a/scratchpad.php b/scratchpad.php index e532948..f8c83f6 100644 --- a/scratchpad.php +++ b/scratchpad.php @@ -7,7 +7,7 @@ use dokuwiki\plugin\luxtools\ScratchpadMap; require_once(__DIR__ . '/autoload.php'); -if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/_dokuwiki'); +if (!defined('DOKU_INC')) define('DOKU_INC', __DIR__ . '/../../../'); require_once(DOKU_INC . 'inc/init.php'); global $INPUT;