diff --git a/web/static/app/site.js b/web/static/app/site.js index 5a964804a..431360c75 100755 --- a/web/static/app/site.js +++ b/web/static/app/site.js @@ -232,7 +232,8 @@ function webAddPage(type) { return; } - $.post('/site/get_php_version',function(rdata){ + $.post('/site/get_php_version',function(data){ + var rdata = data.data; var defaultPath = $("#defaultPath").html(); var php_version = "