Cookie path and env variables added
added cookie path and domain env variables from the flarum.env file propagated to the config.php filepull/130/head
parent
3329c55572
commit
55d767e99d
|
@ -13,6 +13,11 @@
|
|||
'prefix' => '<DB_PREF>',
|
||||
'strict' => false,
|
||||
),
|
||||
'cookie' =>
|
||||
array (
|
||||
'path' => '<COOKIE_PATH>',
|
||||
'domain' => '<COOKIE_DOMAIN>',
|
||||
),
|
||||
'url' => '<FORUM_URL>',
|
||||
'paths' => array (
|
||||
'api' => 'api',
|
||||
|
|
|
@ -76,6 +76,8 @@ if [ -e '/flarum/app/public/assets/rev-manifest.json' ] || [ -e '/flarum/app/pub
|
|||
-e "s|<DB_PASS>|${DB_PASS}|g" \
|
||||
-e "s|<DB_PREF>|${DB_PREF}|g" \
|
||||
-e "s|<DB_PORT>|${DB_PORT}|g" \
|
||||
-e "s|<COOKIE_PATH>|${COOKIE_PATH}|g" \
|
||||
-e "s|<COOKIE_DOMAIN>|${COOKIE_DOMAIN}|g" \
|
||||
-e "s|<FORUM_URL>|${FORUM_URL}|g" /flarum/app/config.php.sample
|
||||
|
||||
cp -p /flarum/app/config.php.sample /flarum/app/config.php
|
||||
|
|
Loading…
Reference in New Issue