Merge branch '3276-Drop-database-if-exist-duplicado' into 'develop'

Removed if localhost - #3276

See merge request artica/pandorafms!2089

Former-commit-id: a7a9bca62544e30fe420793674afc896a63a452c
This commit is contained in:
vgilc 2018-12-17 15:06:17 +01:00
commit c57b8bd94a
1 changed files with 1 additions and 8 deletions

View File

@ -663,14 +663,7 @@ function install_step3() {
value='".dirname (__FILE__)."'>
<tr>";
if ($_SERVER['SERVER_ADDR'] == 'localhost' || $_SERVER['SERVER_ADDR'] == '127.0.0.1') {
echo "<td valign=top>
Drop Database if exists<br>
<input class='login' type='checkbox' name='drop' value=1>
";
} else {
echo "<td>";
}
echo "<td>";
echo "<td>URL path to Pandora FMS Console<br>
<span style='font-size: 9px'>For example '/pandora_console'</span>
</br>