%1$s

%2$s

', 'PHP PDO Extension is not loaded', 'Your PHP installation appears to be missing the PDO extension which is required for this version of WordPress and the type of database you have specified.' ) ), 'PHP PDO Extension is not loaded.' ); } if ( ! extension_loaded( 'pdo_sqlite' ) ) { wp_die( new WP_Error( 'pdo_driver_not_loaded', sprintf( '

%1$s

%2$s

', 'PDO Driver for SQLite is missing', 'Your PHP installation appears not to have the right PDO drivers loaded. These are required for this version of WordPress and the type of database you have specified.' ) ), 'PDO Driver for SQLite is missing.' ); } require_once __DIR__ . '/../database/load.php'; require_once __DIR__ . '/class-wp-sqlite-db.php'; require_once __DIR__ . '/install-functions.php'; $db_name = defined( 'DB_NAME' ) ? DB_NAME : ''; $GLOBALS['wpdb'] = new WP_SQLite_DB( $db_name ); // Boot the Query Monitor plugin if it is active. require_once __DIR__ . '/../../integrations/query-monitor/boot.php';