summaryrefslogtreecommitdiffstats
path: root/5b67d2189cd930ceb4e72da737dbd267b781daf9.patch
blob: 44a874712abb3ad5e5fb61c4dbfc262773f173c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 5b67d2189cd930ceb4e72da737dbd267b781daf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= <mauricio@fauth.dev>
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 <mauricio@fauth.dev>
---
 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);