From ff355dbc9aecc0ede33afb0fa2ff8a6687a700d0 Mon Sep 17 00:00:00 2001
From: oweissbarth
Date: Mon, 17 Mar 2014 16:30:37 +0100
Subject: corrected slash error
---
www/browse.php | 3 ++-
www/index.php | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/browse.php b/www/browse.php
index 433c980..028174e 100644
--- a/www/browse.php
+++ b/www/browse.php
@@ -24,7 +24,8 @@ function get_icon($file){
}
function get_link($file){
- return '';
+ $slash = (($_GET["folder"]!="" && substr($_GET["folder"], -1) != "/"))? "/" : "";
+ return '';
}
function get_item($file){
diff --git a/www/index.php b/www/index.php
index 6378604..56056c5 100755
--- a/www/index.php
+++ b/www/index.php
@@ -1,5 +1,4 @@