PluginProbe
SQLite Database Integration / 2.2.0
SQLite Database Integration v2.2.0
3.0.2 3.0.1 trunk 2.1.13 2.1.14 2.1.15 2.1.16 2.2.0 2.2.1 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.18 2.2.19 2.2.2 2.2.20 2.2.21 2.2.22 2.2.23 2.2.3 All 32 releases
← All changes | activate.php +2 -2 2.1.142.2.0 View file →
@@ -74,10 +74,10 @@
74 74 *
75 75 * When the plugin gets merged in wp-core, this is not to be ported.
76 76 */
77 77 function sqlite_plugin_copy_db_file() {
78 - // Bail early if the SQLite3 class does not exist.
79 - if ( ! class_exists( 'SQLite3' ) ) {
78 + // Bail early if the PDO SQLite extension is not loaded.
79 + if ( ! extension_loaded( 'pdo_sqlite' ) ) {
80 80 return;
81 81 }
82 82
83 83 $destination = WP_CONTENT_DIR . '/db.php';