diff options
-rw-r--r-- | html/fileshow.html | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/html/fileshow.html b/html/fileshow.html deleted file mode 100644 index 94df8538..00000000 --- a/html/fileshow.html +++ /dev/null @@ -1,24 +0,0 @@ -<?php - require('functions.php3'); - require('elispmarkup.php3'); - $filename=$HTTP_GET_VARS["file"]; - $title=$HTTP_GET_VARS["title"]; - $expanded=$HTTP_GET_VARS["expanded"]; - if ($title=="") { $title = $filename; }; - small_header($title); - print "<pre>\n"; - /* I hope this is enough to prevent access outside cwd */ - if (substr($filename,0,1)=="." or - substr($filename,0,1)=="/" or - substr($filename,0,1)=="~") { - print "Sorry, can't show you that file!\n"; - } elseif (substr($filename,-3)==".el") { - elisp_markup($filename,"fileshow.html"); - } else { - outline_markup($filename,"fileshow.html",$expanded); - } - print "</pre>\n"; - print "<hr>"; - click_to_go_back(); - footer(); -?> |