File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ ENV AUTO_UPDATE_CRON="0 5 * * TUE" \
25
25
WP_SITE_ADMIN_PASSWORD=riotkit \
26
26
WP_SITE_ADMIN_EMAIL=example@example.org \
27
27
ACCESS_LOG=/dev/stdout \
28
- ERROR_LOG=/dev/stderr
28
+ ERROR_LOG=/dev/stderr \
29
+ WORDPRESS_DB_TABLE_PREFIX=wp_
29
30
30
31
# p2 (jinja2)
31
32
RUN wget https://github.com/wrouesnel/p2cli/releases/download/r13/p2-linux-x86_64 -O /usr/bin/p2 && chmod +x /usr/bin/p2
Original file line number Diff line number Diff line change 58
58
* You can have multiple installations in one database if you give each
59
59
* a unique prefix. Only numbers, letters, and underscores please!
60
60
*/
61
- $ table_prefix = 'wp_ ' ;
61
+ $ table_prefix = isset ( $ _SERVER [ ' WORDPRESS_DB_TABLE_PREFIX ' ]) ? $ _SERVER [ ' WORDPRESS_DB_TABLE_PREFIX ' ] : 'wp_ ' ;
62
62
63
63
/**
64
64
* For developers: WordPress debugging mode.
You can’t perform that action at this time.
0 commit comments