Skip to content

Commit

Permalink
Ensure route is lowercase
Browse files Browse the repository at this point in the history
Ensure route is lowercase
  • Loading branch information
samerton committed Nov 20, 2017
1 parent 19086e6 commit 595da04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
ini_set('open_basedir', ROOT_PATH . PATH_SEPARATOR . $tmp_dir);

// Get the directory the user is trying to access
$directory = $_SERVER['REQUEST_URI'];
$directory = strtolower($_SERVER['REQUEST_URI']);

$directories = explode("/", $directory);
$lim = count($directories);
Expand Down

0 comments on commit 595da04

Please sign in to comment.