projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f5031
)
add variable retrievement from external environment
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 5 Jan 2018 09:31:50 +0000
(10:31 +0100)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 5 Jan 2018 09:31:50 +0000
(10:31 +0100)
web/briskin5/statadm.php
patch
|
blob
|
history
diff --git
a/web/briskin5/statadm.php
b/web/briskin5/statadm.php
index
71d2321
..
d9e1b65
100644
(file)
--- 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");