Fix a problem with PHP embedded server. $_SERVER['QUERY_STRING'] is not set if it's empty.
This commit is contained in:
parent
ef4cbb79cd
commit
13d0b4c471
2 changed files with 12 additions and 5 deletions
|
@ -80,7 +80,7 @@
|
|||
$(document).ready(function() {
|
||||
// Handler for .ready() called.
|
||||
|
||||
var url = "<?php echo "getJSON.php?" . addURLParameter ($_SERVER["QUERY_STRING"], "complete", 1); ?>";
|
||||
var url = "<?php echo "getJSON.php?" . addURLParameter (getQueryString (), "complete", 1); ?>";
|
||||
|
||||
$.when($.get('templates/default/header.html'),
|
||||
$.get('templates/default/footer.html'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue