PluginProbe
SQLite Database Integration / 3.1.0
SQLite Database Integration v3.1.0
3.1.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 All 33 releases
← All changes | integrations/query-monitor/boot.php +5 -1 2.2.22 → 3.1.0 View file →
@@ -66,9 +66,13 @@
66 66 if ( ! class_exists( 'QM_Backtrace' ) ) {
67 67 return;
68 68 }
69 69
70 - require_once __DIR__ . '/plugin.php';
70 + if ( defined( 'QM_VERSION' ) && version_compare( QM_VERSION, '4.0.0', '>=' ) ) {
71 + require_once __DIR__ . '/qm4.php';
72 + } else {
73 + require_once __DIR__ . '/qm3.php';
74 + }
71 75
72 76 if ( ! defined( 'SQLITE_QUERY_MONITOR_LOADED' ) ) {
73 77 define( 'SQLITE_QUERY_MONITOR_LOADED', true );
74 78 }