barryserver-git
Barry Added a link to raw view b755cf7 (5 years 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";