Skip to content

Commit 738e3bc

Browse files
committed
v2.1.1 - Check that pdo_sqlite is loaded
1 parent 903c8a9 commit 738e3bc

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

admin-page.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ function sqlite_integration_admin_screen() {
5151
<div class="notice notice-error">
5252
<p><?php esc_html_e( 'We detected that the SQLite3 class is missing from your server. Please make sure that SQLite is enabled in your PHP installation before proceeding.', 'sqlite-database-integration' ); ?></p>
5353
</div>
54+
<?php elseif ( ! extension_loaded( 'pdo_sqlite' ) ) : ?>
55+
<div class="notice notice-error">
56+
<p><?php esc_html_e( 'We detected that the PDO SQLite driver is missing from your server (the pdo_sqlite extension is not loaded). Please make sure that SQLite is enabled in your PHP installation before proceeding.', 'sqlite-database-integration' ); ?></p>
57+
</div>
5458
<?php elseif ( file_exists( WP_CONTENT_DIR . '/db.php' ) && ! defined( 'SQLITE_DB_DROPIN_VERSION' ) ) : ?>
5559
<?php if ( defined( 'PERFLAB_SQLITE_DB_DROPIN_VERSION' ) ) : ?>
5660
<div class="notice notice-warning">

load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: SQLite Database Integration
44
* Description: SQLite database driver drop-in.
55
* Author: WordPress Performance Team
6-
* Version: 2.1.0
6+
* Version: 2.1.1
77
* Requires PHP: 5.6
88
* Textdomain: sqlite-database-integration
99
*

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: wordpressdotorg, aristath
44
Requires at least: 6.0
55
Tested up to: 6.1
66
Requires PHP: 5.6
7-
Stable tag: 2.1.0
7+
Stable tag: 2.1.1
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: performance, database

0 commit comments

Comments
 (0)