From 98878baa0d89f2b93003f786f6e39fe83674797a Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 22 Dec 2023 20:15:57 +0700 Subject: [PATCH] Update config.php --- library/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/config.php b/library/config.php index 20d4538e..b36572d5 100644 --- a/library/config.php +++ b/library/config.php @@ -278,7 +278,7 @@ $page_cfg['show_sidebar2'] = array( // укажите на каких стран ); // Cookie -$bb_cfg['cookie_domain'] = in_array($domain_name, array($_SERVER['SERVER_ADDR'], 'localhost')) ? '' : ".$domain_name"; +$bb_cfg['cookie_domain'] = in_array($domain_name, array($_SERVER['SERVER_ADDR'], 'localhost')) ? '' : ".$domain_name"; // НЕ НУЖНО менять "localhost" $bb_cfg['cookie_secure'] = ($domain_ssl ? 1 : (((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') || (isset($_SERVER['REQUEST_SCHEME']) && $_SERVER['REQUEST_SCHEME'] === 'https') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https')) ? 1 : 0)); $bb_cfg['cookie_prefix'] = 'bb_'; // Префикс для cookie файлов ('bb_')