projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8192c05
)
update mail manager
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 5 Jan 2018 10:48:23 +0000
(11:48 +0100)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 5 Jan 2018 10:48:23 +0000
(11:48 +0100)
web/mailmgr.php
patch
|
blob
|
history
diff --git
a/web/mailmgr.php
b/web/mailmgr.php
index
8d4e107
..
e3a970c
100644
(file)
--- 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
+?>