upadte
This commit is contained in:
parent
23616e4f46
commit
2193c629d0
|
|
@ -11,7 +11,9 @@ $https = false;
|
||||||
function alert_and_back($message)
|
function alert_and_back($message)
|
||||||
{
|
{
|
||||||
global $https;
|
global $https;
|
||||||
|
global $domain;
|
||||||
|
global $subdomains_raw;
|
||||||
|
global $email;
|
||||||
|
|
||||||
$jsonFile = __DIR__ . '/domain.json';
|
$jsonFile = __DIR__ . '/domain.json';
|
||||||
$new = [
|
$new = [
|
||||||
|
|
@ -25,9 +27,6 @@ function alert_and_back($message)
|
||||||
|
|
||||||
|
|
||||||
global $FORM_PAGE;
|
global $FORM_PAGE;
|
||||||
global $domain;
|
|
||||||
global $subdomains_raw;
|
|
||||||
global $email;
|
|
||||||
// SAFELY escape entire message for JavaScript (supports newlines, quotes, etc.)
|
// SAFELY escape entire message for JavaScript (supports newlines, quotes, etc.)
|
||||||
$msg = json_encode($message, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
$msg = json_encode($message, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue