corrected query string fix
This commit is contained in:
parent
990d86a4a9
commit
7cb90f8569
@ -28,7 +28,7 @@
|
|||||||
function getfile($tree, $url, $current_dir, $flag = FALSE) {
|
function getfile($tree, $url, $current_dir, $flag = FALSE) {
|
||||||
global $docs_path, $base_doc, $options;
|
global $docs_path, $base_doc, $options;
|
||||||
$url = clean_url($url, "Live", true);
|
$url = clean_url($url, "Live", true);
|
||||||
if ($options['clean_urls'] == true) $url = explode("?", $link)[0];
|
if ($options['clean_urls'] == true) $url = explode("?", $url)[0];
|
||||||
if ($url === '' || $url === 'index') {
|
if ($url === '' || $url === 'index') {
|
||||||
if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md";
|
if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md";
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user