diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index ba2d1d9..141d798 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php @@ -33,6 +33,8 @@ class Database { $db_path = 'pgsql:host=' . STORAGE_SERVER . ';dbname=' . STORAGE_DB; $this->handle = new PDO($db_path, STORAGE_USER, STORAGE_PASSWORD); break; + default: + die(STORAGE . ' is not a recognised database system !'); } $this->handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);