We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac2cb9 commit 48c6692Copy full SHA for 48c6692
SQLiteDB.php
@@ -41,6 +41,10 @@ class SQLiteDB
41
*/
42
public function __construct($dbname, $schemadir, $sqlitehelper = null)
43
{
44
+ global $plugin_controller;
45
+ if (!$plugin_controller->isEnabled('sqlite')) {
46
+ throw new \Exception('SQLite plugin seems to be disabled.');
47
+ }
48
if (!class_exists('pdo') || !in_array('sqlite', \PDO::getAvailableDrivers())) {
49
throw new \Exception('SQLite PDO driver not available');
50
}
0 commit comments