Skip to content

Commit 5199169

Browse files
authored
Keep config always up-to-date with image config
1 parent 655f5b4 commit 5199169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wp-config-sample.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
* @package WordPress
1919
*/
2020

21-
require_once __DIR__ . '/wp-config-riotkit.php';
21+
// by including it from /usr/src we make sure it will be always up-to-date, when we update the image
22+
require_once '/usr/src/wordpress/wp-config-riotkit.php';
2223

2324
/*
2425
* WARNING: DB CREDENTIALS DEFINED THERE HAVE NO EFFECT. AS THOSE ARE DEFINED IN wp-config-riotkit.php IN PRIORITY AND TAKEN FROM ENVIRONMENT!

0 commit comments

Comments
 (0)