Fix a problem with PHP embedded server. $_SERVER['QUERY_STRING'] is not set if it's empty.

Esse commit está contido em:
Sébastien Lucas 2013-11-29 09:34:32 +01:00
commit 13d0b4c471
2 arquivos alterados com 12 adições e 5 exclusões

Ver arquivo

@ -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'),