From: Dan Untenzu Date: Mon, 20 Feb 2017 15:18:19 +0000 (+0100) Subject: [BUGFIX] Admin page: Prefix path to download links X-Git-Tag: 3.0.0~10 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/cd09b476cbbfa8f90f0f86e67da5414d21c8ad10 [BUGFIX] Admin page: Prefix path to download links The download links in the admin page have no path prefix and therefore all installations with within a subdirectory create no-working links. Prefix the JIRAFEAU_ABSPREFIX to create working URLs. Refs #108 --- diff --git a/lib/functions.php b/lib/functions.php index 85651ba..bac444b 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -594,7 +594,7 @@ function jirafeau_admin_list($name, $file_hash, $link_hash) /* Print link informations. */ echo ''; echo '' . - '' . htmlspecialchars($l['file_name']) . ''; echo ''; echo '' . $l['mime_type'] . '';