diff --git a/web/index.php b/web/index.php new file mode 100644 index 0000000..a371f9b --- /dev/null +++ b/web/index.php @@ -0,0 +1,27 @@ + + +Available WADs + + +' . htmlentities(json_encode($_SERVER)) . '
'; +//echo __FILE__ . '
'; +//echo $dir . '
'; +//echo $root . '
'; +//echo $webDir . '
'; +foreach ($files as $file) +{ + $info = pathinfo($file); + //echo '' . htmlentities(json_encode($info)) . '
'; + if (strtolower($info['extension']) == 'wad') + { + echo '' . $file . '
'; + } +} +?> + +