@@ -23,10 +23,9 @@
|
|||||||
}
|
}
|
||||||
$res = mysqli_select_db($this->getLink(), DB);
|
$res = mysqli_select_db($this->getLink(), DB);
|
||||||
if (!$res){
|
if (!$res){
|
||||||
// try to create the DataBase and table
|
// Data Base Not configured
|
||||||
if(!$this->setup_first_time()){
|
echo "You have to configure the DataBase";
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user