BarryServer : Git

All the code for all my projects
// BarryServer : Git / barryserver-git / commit / 6c49b9eb4b2925dbe06ba0854d2e2e474bc2631a

// Related

barryserver-git

Barry Added / to folder names 6c49b9e (4 years, 3 months ago)
diff --git a/git.php b/git.php
index a5b3658..6bc4a23 100644
--- a/git.php
+++ b/git.php
@@ -229,7 +229,7 @@ $FOOTER = "BarryServer Git Browser";
 					foreach (explode("\n",$files) as $file) {
 						$name = explode(" ",$file);
 						if ($name[1] == "tree") {
-							$folderstxt .= "		<a href=\"".$ROOT.$SCRIPT."/".$repo."/".$branch."/".explode("\t",$name[2])[1]."/\" class=\"folder\">".end(explode("/",explode("\t",$name[2])[1]))."</a><br>\n";
+							$folderstxt .= "		<a href=\"".$ROOT.$SCRIPT."/".$repo."/".$branch."/".explode("\t",$name[2])[1]."/\" class=\"folder\">".end(explode("/",explode("\t",$name[2])[1]))."/</a><br>\n";
 						}
 						if ($name[1] == "blob") {
 							$filestxt .= "		<a href=\"".$ROOT.$SCRIPT."/".$repo."/".$branch."/".explode("\t",$name[2])[1]."\" class=\"file\">".end(explode("/",explode("\t",$name[2])[1]))."</a><br>\n";