X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fmailmgr.php;fp=web%2Fmailmgr.php;h=e3a970c3c713d76cc91ffc3b2bcb279ed99bb7a5;hb=afc1b39360b6ac908d7387c8774268b0a2441313;hp=8d4e107455f822bc17debb427322b8fb2544e039;hpb=8192c051c28a3293820ee32802686fe4e40f6fac;p=brisk.git 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 +?>