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.
DB_NAME
2 parents 14fc4ed + f8894c7 commit e7e411dCopy full SHA for e7e411d
constants.php
@@ -52,6 +52,16 @@
52
}
53
54
55
+/**
56
+ * The DB_NAME constant is required by the SQLite driver.
57
+ *
58
+ * When DB_NAME is not defined, let's use a default value that corresponds to
59
+ * the default value of the constant in "wp-config-sample.php" and in Studio.
60
+ */
61
+if ( ! defined( 'DB_NAME' ) ) {
62
+ define( 'DB_NAME', 'database_name_here' );
63
+}
64
+
65
// Allow enabling the SQLite AST driver via environment variable.
66
if ( ! defined( 'WP_SQLITE_AST_DRIVER' ) && isset( $_ENV['WP_SQLITE_AST_DRIVER'] ) && 'true' === $_ENV['WP_SQLITE_AST_DRIVER'] ) {
67
define( 'WP_SQLITE_AST_DRIVER', true );
0 commit comments