Merge pull request #199 from jLukeC/master
made the query string fix PHP 5.3 friendly
Cette révision appartient à :
révision
9ca429a536
@ -28,6 +28,10 @@
|
||||
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);
|
||||
$url = $url[0];
|
||||
}
|
||||
if ($url === '' || $url === 'index') {
|
||||
if (is_file($docs_path . "/index.md")) return $docs_path . "/index.md";
|
||||
else {
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user