Directory browsing not working
-
Hi,
For some reasons directory browsing is not working on my webhost.
The $_REQUEST superglobal is not working inside the installation folder of WordPress.
To fix the problem, a bit of code is placed at the top of all File Away classes that need information from the query string:if(empty($_REQUEST)) { list($junkpath, $qs) = explode("?", $_SERVER["REQUEST_URI"], 2); unset($junkpath); parse_str($qs, $query_string); $_REQUEST = $_REQUEST+$query_string; $_GET = $_GET+$query_string; }Thanks for solving the problem!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Directory browsing not working’ is closed to new replies.