diff --git a/pandora_console/install.php b/pandora_console/install.php index 39368baad3..bd583e7447 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -58,6 +58,14 @@ window.document.step2_form.db_action.options[window.document.step2_form.db_action.length-1].selected=1; ChangeDBDrop(window.document.step2_form.db_action); } + function CheckDBhost(value){ + if (( value != "localhost") && ( value != "127.0.0.1")) { + document.getElementById('tr_dbgrant').style["display"] = "block"; + } + else { + document.getElementById('tr_dbgrant').style["display"] = "none"; + } + }