diff options
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r-- | web/template/pkg_details.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 8dd3d284..a8da6c9c 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -173,8 +173,9 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[ $src = $src[0]; # It is presumably an internal source if ($row["LocationID"] == 2) { - echo "<a href='".dirname($row['URLPath'])."/".$row['Name']; - echo "/$src'>$src</a><br />\n"; + $urlpath = URL_DIR . $row['Name']; + echo "<a href='$urlpath/$src'>"; + echo "$src</a><br />\n"; } } } |