Mercurial > dirlist-php
diff index.php @ 8:ac946673f830
Remove unused comments.
author | edogawaconan <me@myconan.net> |
---|---|
date | Tue, 21 Oct 2014 21:48:54 +0900 |
parents | c4046c7e1f5a |
children | 5db51091e291 |
line wrap: on
line diff
--- a/index.php Tue Oct 21 21:46:37 2014 +0900 +++ b/index.php Tue Oct 21 21:48:54 2014 +0900 @@ -28,12 +28,6 @@ if (http_response_code() !== 200) { exit; } - // $link_prefix = "/"; - // $link_base = rtrim(preg_replace("#/+#", "/", urldecode($_ENV["REQUEST_URI"])),'/'); - // $link_path = substr($link_base,strlen(utf8_decode($link_prefix))); - // $path = realpath("$wwwroot/".$link_path); - // if (!$path) { die("fail"); } - $dir_handle = @opendir($root . $path); $files = array(); $dirs = array();