diff --git a/config/application.php b/config/application.php index 102824fb24..049cd4b3bf 100644 --- a/config/application.php +++ b/config/application.php @@ -61,7 +61,7 @@ Config::define('DB_HOST', env('DB_HOST') ?: 'localhost'); Config::define('DB_CHARSET', 'utf8mb4'); Config::define('DB_COLLATE', ''); -$table_prefix = empty(env('DB_PREFIX')) ? env('DB_PREFIX') : 'wp_' +$table_prefix = env('DB_PREFIX') ?: 'wp_'; if (env('DATABASE_URL')) { $dsn = (object) parse_url(env('DATABASE_URL'));