From 87f6839b0d92675e0ab50aa8adec791c63399e4c Mon Sep 17 00:00:00 2001 From: luxick Date: Sat, 21 Feb 2026 08:02:11 +0100 Subject: [PATCH] Fix DOKU_INC definition --- file.php | 2 +- pagelink.php | 2 +- scratchpad.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;