Skip to content

Commit 124d970

Browse files
committed
Add optional DB_PREFIX configuration option
1 parent 271c8c0 commit 124d970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/application.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*/
3636
define('DB_CHARSET', 'utf8');
3737
define('DB_COLLATE', '');
38-
$table_prefix = 'wp_';
38+
$table_prefix = getenv('DB_PREFIX') ? getenv('DB_PREFIX') : 'wp_';
3939

4040
/**
4141
* WordPress Localized Language

0 commit comments

Comments
 (0)