update
continuous-integration/drone/push Build is passing Details

pull/3/head
remrem 1 year ago
parent 7f8ab101fd
commit 6b3109c5d3

@ -9,10 +9,10 @@ class DatabaseInit {
public function __construct() {
if(getenv("IS_DB_INIT") != true) {}
try {
#try {
$this->con = (new DatabaseCon)->connect();
} catch(PDOException $e) {
throw new PDOException($e->getMessage(), $e->getCode(), $e);
#} catch(PDOException $e) {
# throw new PDOException($e->getMessage(), $e->getCode(), $e);
$this->createUserTable();
$this->createFileTable();
putenv("IS_DB_INIT=true");

Loading…
Cancel
Save