From 990d86a4a9e753997fd7ce4d86bf95fe08c517fa Mon Sep 17 00:00:00 2001 From: Luke Carlson Date: Mon, 30 Jun 2014 13:52:19 -0400 Subject: [PATCH] allowed query strings when clean urls are enabled --- libs/live.php | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/live.php b/libs/live.php index 52a956c..9e49220 100644 --- a/libs/live.php +++ b/libs/live.php @@ -28,6 +28,7 @@ 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("?", $link)[0]; if ($url === '' || $url === 'index') { if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md"; else {