diff --git a/pandora_console/install.php b/pandora_console/install.php index ab2a896b31..9bdea7e5be 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -702,18 +702,35 @@ function install_step3() { DB Name (pandora by default)
- + "; + if ($_SERVER['SERVER_ADDR'] == 'localhost' || $_SERVER['SERVER_ADDR'] == '127.0.0.1') { + + echo "DB Host Access
+ Ignored if DB Hostname is localhost + "; + } else { + + echo " Drop Database if exists
- + "; + } - - Full path to HTTP publication directory
+ echo "Full path to HTTP publication directory
For example /var/www/pandora_console/
- URL path to Pandora FMS Console
+ "; + if ($_SERVER['SERVER_ADDR'] == 'localhost' || $_SERVER['SERVER_ADDR'] == '127.0.0.1') { + echo " + Drop Database if exists
+ + "; + } else { + echo ""; + } + echo "URL path to Pandora FMS Console
For example '/pandora_console'