Merge pull request #8 from sierrafayad/master

Undefined Function
This commit is contained in:
Ondřej Žára
2015-03-24 08:50:13 +01:00
+2 -3
View File
@@ -23,11 +23,10 @@
}
$res = mysqli_select_db($this->getLink(), DB);
if (!$res){
// try to create the DataBase and table
if(!$this->setup_first_time()){
// Data Base Not configured
echo "You have to configure the DataBase";
return false;
}
}
return true;
}
function getLink(){