aboutsummaryrefslogtreecommitdiff
path: root/html/smallpage.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/smallpage.php')
-rw-r--r--html/smallpage.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/html/smallpage.php b/html/smallpage.php
new file mode 100644
index 00000000..ef165c6d
--- /dev/null
+++ b/html/smallpage.php
@@ -0,0 +1,12 @@
+<?php
+ require('functions.php3');
+ small_header($title);
+ 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 {
+ include($file);
+ }
+ footer();
+?>