Fix cookie domain_domain
This commit is contained in:
parent
7d5fe7eadc
commit
e89d3d51a2
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ if (file_exists($configPath)) {
|
||||||
*/
|
*/
|
||||||
$cookie_domain = $_SERVER['HTTP_HOST'];
|
$cookie_domain = $_SERVER['HTTP_HOST'];
|
||||||
|
|
||||||
if (defined('CHANNELS') && is_iterable(CHANNELS)) {
|
if (defined('CHANNELS') && is_iterable(CHANNELS) && defined('ENV_IS_DEV') && ! ENV_IS_DEV) {
|
||||||
foreach (CHANNELS as $channel) {
|
foreach (CHANNELS as $channel) {
|
||||||
if ('stable' === $channel['branch']) {
|
if ('stable' === $channel['branch']) {
|
||||||
$cookie_domain = $channel['host'];
|
$cookie_domain = $channel['host'];
|
||||||
|
|
Loading…
Reference in a new issue