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

This commit is contained in:
Sébastien Lucas 2013-11-29 09:34:32 +01:00
부모 ef4cbb79cd
커밋 13d0b4c471
2개의 변경된 파일12개의 추가작업 그리고 5개의 파일을 삭제

파일 보기

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