We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20bacc commit 5c2265eCopy full SHA for 5c2265e
integrations/query-monitor/boot.php
@@ -12,6 +12,15 @@
12
* See: https://github.com/johnbillion/query-monitor/blob/develop/wp-content/db.php
13
*/
14
15
+/*
16
+ * In Playground, the SQLite plugin is preloaded without using the "db.php" file.
17
+ * To prevent Query Monitor from injecting its own "db.php" file, we need to set
18
+ * the "QM_DB_SYMLINK" constant to "false".
19
+ */
20
+if ( ! defined( 'QM_DB_SYMLINK' ) ) {
21
+ define( 'QM_DB_SYMLINK', false );
22
+}
23
+
24
// 1. Check if we should load Query Monitor (as per the original "db.php" file).
25
if ( ! defined( 'ABSPATH' ) ) {
26
exit;
0 commit comments