Skip to content

Commit

Permalink
Merge pull request #431 from roots/revert-423-support-empty-prefix
Browse files Browse the repository at this point in the history
Revert "Adjust logic to handle empty DB_PREFIX"
  • Loading branch information
swalkinshaw authored May 2, 2019
2 parents dfae747 + e349d5f commit 96b7e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 96b7e79

Please sign in to comment.