Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
17 righe
535 B
17 righe
535 B
<? |
|
$_cdir = __DIR__; |
|
|
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
|
|
include_once "{$_cdir}/class/TedEsender.class.php"; |
|
|
|
if(!empty($_SESSION["utente"]) && ($_SESSION["utente"]->isSupportoOrRoot() || $config["developEnv"])) { |
|
TedEsender::sync($pdo, "{$root}/backend/guue/config/settings.json", "{$root}/backend/guue/config/xml", $config["developEnv"], $_POST["codice"] ?? null); |
|
http_response_code(200); |
|
die(); |
|
} else { |
|
http_response_code(403); |
|
die(); |
|
} |
|
?>
|