diff --git a/install.js b/install.js index b014f53..45bc2ad 100644 --- a/install.js +++ b/install.js @@ -155,7 +155,7 @@ function check_install() { console.log('install: '+install); if (install==1) { - var url = 'scan.php?op=check_install&key='; + var url = 'scan.php?op=check_install'; $.get(url, function(data){ console.log('check_install:'+data+' counter: '+counter); if (data=='INSTALLED') { diff --git a/scan.php b/scan.php index 0f8c7dc..1763e21 100644 --- a/scan.php +++ b/scan.php @@ -64,7 +64,7 @@ switch ($_GET["op"]) { if (!empty($arr)) { foreach ($arr as $key=>$data) { //echo $key."-".$_GET["key"]; - if ($key==$_GET["key"]) { // if install key moved to web_out + if ($key=="install") { // if install key moved to web_out if ($data["INSTALL_STATUS"]>0) { remove_response("$key"); echo "INSTALLED";