parent
212a7008dd
commit
978c7722e4
|
@ -268,7 +268,7 @@ function main($path)
|
||||||
return $drive->AddDisk();
|
return $drive->AddDisk();
|
||||||
} else {
|
} else {
|
||||||
$url = $_SERVER['PHP_SELF'];
|
$url = $_SERVER['PHP_SELF'];
|
||||||
if ($_GET) {
|
/*if ($_GET) {
|
||||||
$tmp = null;
|
$tmp = null;
|
||||||
$tmp = '';
|
$tmp = '';
|
||||||
foreach ($_GET as $k => $v) {
|
foreach ($_GET as $k => $v) {
|
||||||
|
@ -279,7 +279,8 @@ function main($path)
|
||||||
}
|
}
|
||||||
$tmp = substr($tmp, 1);
|
$tmp = substr($tmp, 1);
|
||||||
if ($tmp!='') $url .= '?' . $tmp;
|
if ($tmp!='') $url .= '?' . $tmp;
|
||||||
}
|
}*/
|
||||||
|
// not need GET adddisk, remove it
|
||||||
return output('<script>alert(\''.getconstStr('SetSecretsFirst').'\');</script>', 302, [ 'Location' => $url ]);
|
return output('<script>alert(\''.getconstStr('SetSecretsFirst').'\');</script>', 302, [ 'Location' => $url ]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue