From: Matteo Nastasi Date: Fri, 5 Jan 2018 09:31:50 +0000 (+0100) Subject: add variable retrievement from external environment X-Git-Tag: v5.6.0~21 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=a40c2da441cf716dd113f6fc3d392166b9902aa8;p=brisk.git add variable retrievement from external environment --- diff --git a/web/briskin5/statadm.php b/web/briskin5/statadm.php index 71d2321..d9e1b65 100644 --- a/web/briskin5/statadm.php +++ b/web/briskin5/statadm.php @@ -28,6 +28,24 @@ */ +foreach (array("HTTP_HOST", "DOCUMENT_ROOT") as $i) { + if (isset($_SERVER[$i])) { + $$i = $_SERVER[$i]; + } + } + +foreach (array("pazz") as $i) { + if (isset($_POST[$i])) { + $$i = $_POST[$i]; + } + } + +foreach (array("from", "to") as $i) { + if (isset($_GET[$i])) { + $$i = $_GET[$i]; + } + } + $G_base = "../"; ini_set("max_execution_time", "240");