aboutsummaryrefslogtreecommitdiff
path: root/html/htmlshow.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/htmlshow.php')
-rw-r--r--html/htmlshow.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/html/htmlshow.php b/html/htmlshow.php
new file mode 100644
index 00000000..915aac6f
--- /dev/null
+++ b/html/htmlshow.php
@@ -0,0 +1,11 @@
+<?php
+ require('functions.php3');
+ if (substr($file,0,1)=="." or
+ substr($file,0,1)=="/" or
+ substr($file,0,1)=="~") {
+ print "Sorry, can't show you that file!\n";
+ } else {
+ hack_html($file,$title);
+ }
+ footer();
+?>