diff --git a/system/db/connector.php b/system/db/connector.php index 602ec96e..39998060 100644 --- a/system/db/connector.php +++ b/system/db/connector.php @@ -41,6 +41,10 @@ class Connector { { return new \PDO('sqlite:'.$config->database, null, null, static::$options); } + else + { + throw new \Exception("SQLite database [".$config->database."] could not be found."); + } } // ----------------------------------------------------- // Connect to MySQL or Postgres.