BarryServer : Git

All the code for all my projects
// BarryServer : Git / barryserver-git / commit / b755cf7a7a969909fa46c78108c7a24566306f6c / git.php

// Related

barryserver-git

Barry Added a link to raw view b755cf7 (4 years, 1 month ago)
diff --git a/git.php b/git.php
index b1c3415..b7eba44 100644
--- a/git.php
+++ b/git.php
@@ -289,6 +289,7 @@ ob_start();
 							echo $content;
 							die();
 						}
+						echo "<a class=\"raw-link\" href=\"?raw\">Raw View</a>";
 						echo "<pre>\n".htmlspecialchars($content)."</pre>\n";
 					} else {
 						echo "		<span class=\"error\">\n		<b>404! File not found!</b><br>\n";