From 5b67d2189cd930ceb4e72da737dbd267b781daf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Wed, 10 Jul 2019 17:00:43 -0300 Subject: [PATCH] Fix wrong path when getting documentation link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #15381 Signed-off-by: MaurĂ­cio Meneghini Fauth --- libraries/classes/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Util.php b/libraries/classes/Util.php index b488c26fbad..fa115dd6429 100644 --- a/libraries/classes/Util.php +++ b/libraries/classes/Util.php @@ -460,7 +460,7 @@ public static function getDocuLink($page, $anchor = '') * provide consistent URL for testsuite */ if (! defined('TESTSUITE') && @file_exists(ROOT_PATH . 'doc/html/index.html')) { - return ROOT_PATH . 'doc/html/' . $url; + return 'doc/html/' . $url; } return Core::linkURL('https://docs.phpmyadmin.net/en/latest/' . $url);