| @@ -18,13 +18,13 @@ | ||
| 18 | 18 | if ( isset( $current_screen->base ) && 'settings_page_sqlite-integration' === $current_screen->base ) { |
| 19 | 19 | return; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - // If SQLite is not detected, bail early. | |
| 23 | - if ( ! class_exists( 'SQLite3' ) ) { | |
| 22 | + // If PDO SQLite is not loaded, bail early. | |
| 23 | + if ( ! extension_loaded( 'pdo_sqlite' ) ) { | |
| 24 | 24 | printf( |
| 25 | 25 | '<div class="notice notice-error"><p>%s</p></div>', |
| 26 | - esc_html__( 'The SQLite Integration plugin is active, but the SQLite3 class is missing from your server. Please make sure that SQLite is enabled in your PHP installation.', 'sqlite-database-integration' ) | |
| 26 | + esc_html__( 'The SQLite Integration plugin is active, but the PDO SQLite extension is missing from your server. Please make sure that PDO SQLite is enabled in your PHP installation.', 'sqlite-database-integration' ) | |
| 27 | 27 | ); |
| 28 | 28 | return; |
| 29 | 29 | } |
| 30 | 30 | |