From e349d5f582b26e23b3be90ba5908418640424240 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Thu, 2 May 2019 08:41:58 -0400 Subject: [PATCH] Revert "Adjust logic to handle empty DB_PREFIX (#423)" This reverts commit dfae7475bc6e12c59cb144a3c0365f9b840b0b2d. --- config/application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));