diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-01 13:39:59 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-06-01 13:39:59 +0000 |
| commit | 58f3f0aa43d3c975ae7761bf285e47e29f37e526 (patch) | |
| tree | 6d5a99e9c5fc3a412ac972fc028df990ff430493 /frontends/php/config.php | |
| parent | 3a353edfe0023851f60e82616e61bd0c318b2043 (diff) | |
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@801 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/config.php')
| -rw-r--r-- | frontends/php/config.php | 45 |
1 files changed, 40 insertions, 5 deletions
diff --git a/frontends/php/config.php b/frontends/php/config.php index b069d208..042e858f 100644 --- a/frontends/php/config.php +++ b/frontends/php/config.php @@ -158,11 +158,46 @@ { $type=0; } - $description=""; - $smtp_server=""; - $smtp_helo=""; - $smtp_email=""; - $exec_path=""; + if(isset($HTTP_GET_VARS["description"])) + { + $description=$HTTP_GET_VARS["description"]; + } + else + { + $description=0; + } + if(isset($HTTP_GET_VARS["smtp_server"])) + { + $smtp_server=$HTTP_GET_VARS["smtp_server"]; + } + else + { + $smtp_server=0; + } + if(isset($HTTP_GET_VARS["smtp_helo"])) + { + $smtp_helo=$HTTP_GET_VARS["smtp_helo"]; + } + else + { + $smtp_helo=0; + } + if(isset($HTTP_GET_VARS["smtp_email"])) + { + $smtp_email=$HTTP_GET_VARS["smtp_email"]; + } + else + { + $smtp_email=0; + } + if(isset($HTTP_GET_VARS["exec_path"])) + { + $exec_path=$HTTP_GET_VARS["exec_path"]; + } + else + { + $exec_path=0; + } } ?> |
