if (file_exists($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR."Local")) { $mysqli = new mysqli("localhost", "root", "", "d3gw_irmaosperobelli"); $d3_host = "localhost"; $d3_user = "root"; $d3_senha = ""; $d3_base = "d3gw_irmaosperobelli"; } else { require_once("config_db.inc.php"); } ?>