Merge pull request #198 from justinwalsh/revert-191-master

Revert "Corrected query string fix"
This commit is contained in:
Denis Kisselev 2014-07-02 10:44:04 -07:00
commit 46aa8a67a9

View File

@ -28,7 +28,6 @@
function getfile($tree, $url, $current_dir, $flag = FALSE) {
global $docs_path, $base_doc, $options;
$url = clean_url($url, "Live", true);
if ($options['clean_urls'] == true) $url = explode("?", $url)[0];
if ($url === '' || $url === 'index') {
if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md";
else {