This commit is contained in:
@@ -155,7 +155,7 @@ function check_install() {
|
|||||||
|
|
||||||
console.log('install: '+install);
|
console.log('install: '+install);
|
||||||
if (install==1) {
|
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){
|
$.get(url, function(data){
|
||||||
console.log('check_install:'+data+' counter: '+counter);
|
console.log('check_install:'+data+' counter: '+counter);
|
||||||
if (data=='INSTALLED') {
|
if (data=='INSTALLED') {
|
||||||
|
|||||||
2
scan.php
2
scan.php
@@ -64,7 +64,7 @@ switch ($_GET["op"]) {
|
|||||||
if (!empty($arr)) {
|
if (!empty($arr)) {
|
||||||
foreach ($arr as $key=>$data) {
|
foreach ($arr as $key=>$data) {
|
||||||
//echo $key."-".$_GET["key"];
|
//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) {
|
if ($data["INSTALL_STATUS"]>0) {
|
||||||
remove_response("$key");
|
remove_response("$key");
|
||||||
echo "INSTALLED";
|
echo "INSTALLED";
|
||||||
|
|||||||
Reference in New Issue
Block a user