From c14017c2444f61024e0a5fdcd4bb54c2a8b6d349 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 7 Apr 2016 07:56:16 +0200 Subject: [PATCH] fix display of path in customer-extras Signed-off-by: Michael Kaufmann (d00p) --- customer_extras.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customer_extras.php b/customer_extras.php index 9d85f1f9..06a27a09 100644 --- a/customer_extras.php +++ b/customer_extras.php @@ -53,9 +53,9 @@ if ($page == 'overview') { while ($row = $result_stmt->fetch(PDO::FETCH_ASSOC)) { if ($paging->checkDisplay($i)) { if (strpos($row['path'], $userinfo['documentroot']) === 0) { - $row['path'] = str_replace($userinfo['documentroot'], "/", $row['path']); + $row['path'] = str_replace($userinfo['documentroot'], "/", $row['path']); } - + $row['path'] = makeCorrectDir($row['path']); $row = htmlentities_array($row); eval("\$htpasswds.=\"" . getTemplate("extras/htpasswds_htpasswd") . "\";"); $count++; @@ -271,7 +271,7 @@ if ($page == 'overview') { if (strpos($row['path'], $userinfo['documentroot']) === 0) { $row['path'] = str_replace($userinfo['documentroot'], "/", $row['path']); } - + $row['path'] = makeCorrectDir($row['path']); $row['options_indexes'] = str_replace('1', $lng['panel']['yes'], $row['options_indexes']); $row['options_indexes'] = str_replace('0', $lng['panel']['no'], $row['options_indexes']); $row['options_cgi'] = str_replace('1', $lng['panel']['yes'], $row['options_cgi']);