// restricts commercial use of the Software. // // ProEthos is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A // PARTICULAR PURPOSE. See the ProEthos License for more details. // // You should have received a copy of the ProEthos License along with the ProEthos // Software. If not, see // https://raw.githubusercontent.com/bireme/proethos/master/LICENSE.txt require "../db.php"; ini_set('display_errors', 255); ini_set('error_reporting', 255); require $include . '_class_debug.php'; require "../_class_install.php"; $inst = new install(); $file_db = $inst->config_file(); //require("../customize_error.php"); /* Valida dados */ $err = 0; if (strlen($dd[1]) == 0) { echo 'Database type not selected'; exit; } /* Valida Servidor */ if (strlen($dd[2]) == 0) { echo 'Database host not found'; exit; } /* Valida Database name */ if (strlen($dd[3]) == 0) { echo 'Database name not found';