From: Matteo Nastasi Date: Fri, 5 Jan 2018 10:48:23 +0000 (+0100) Subject: update mail manager X-Git-Tag: v5.6.0~19 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=afc1b39360b6ac908d7387c8774268b0a2441313;p=brisk.git update mail manager --- diff --git a/web/mailmgr.php b/web/mailmgr.php index 8d4e107..e3a970c 100644 --- a/web/mailmgr.php +++ b/web/mailmgr.php @@ -22,6 +22,19 @@ * */ +foreach (array("HTTP_HOST", "DOCUMENT_ROOT") as $i) { + if (isset($_SERVER[$i])) { + $$i = $_SERVER[$i]; + } + } + +foreach (array("f_act", "f_code", "f_hash") as $i) { + if (isset($_GET[$i])) { + $$i = $_GET[$i]; + } + } + + $G_base = ""; ini_set("max_execution_time", "240"); @@ -92,4 +105,4 @@ function main() { } main(); -?> \ No newline at end of file +?>