diff index.php @ 6:8df269a2efd8

Remove unused variable.
author edogawaconan <me@myconan.net>
date Tue, 21 Oct 2014 21:44:36 +0900
parents b84ce3ef4c9d
children c4046c7e1f5a
line wrap: on
line diff
--- a/index.php	Tue Oct 21 21:41:49 2014 +0900
+++ b/index.php	Tue Oct 21 21:44:36 2014 +0900
@@ -20,9 +20,6 @@
   $root = $_SERVER["DL_ROOT"];
   if ($root === null || $root === "") { $root = $_SERVER["DOCUMENT_ROOT"]; }
 
-  // current directory being listed.
-  $current_dir = $root . $path;
-
   if (realpath($root . $path) === false) {
     header("HTTP/1.0 404 Not Found");
   } elseif (substr($current_dir, -1) !== "/") {