This commit is contained in:
@@ -155,7 +155,7 @@ function check_install() {
|
||||
|
||||
console.log('install: '+install);
|
||||
if (install==1) {
|
||||
var url = 'scan.php?op=check_install&key=<?php echo $key;?>';
|
||||
var url = 'scan.php?op=check_install';
|
||||
$.get(url, function(data){
|
||||
console.log('check_install:'+data+' counter: '+counter);
|
||||
if (data=='INSTALLED') {
|
||||
|
2
scan.php
2
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";
|
||||
|
Reference in New Issue
Block a user