Undefined Function

Only threw error when the database is not configured
This commit is contained in:
Frank Sierra
2015-03-23 16:41:33 -05:00
parent 53514db57c
commit 633ce14445
+3 -4
View File
@@ -23,10 +23,9 @@
}
$res = mysqli_select_db($this->getLink(), DB);
if (!$res){
// try to create the DataBase and table
if(!$this->setup_first_time()){
return false;
}
// Data Base Not configured
echo "You have to configure the DataBase";
return false;
}
return true;
}