Enhanced https check (#131)

This commit is contained in:
Roman Kelesidis 2023-04-04 23:00:15 +07:00 committed by GitHub
parent cc1e2e8d8a
commit 5518ce99b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@
- Make user_newpasswd lenght configurable [\#126](https://github.com/torrentpier/torrentpier-lts/pull/126) ([belomaxorka](https://github.com/belomaxorka)) - Make user_newpasswd lenght configurable [\#126](https://github.com/torrentpier/torrentpier-lts/pull/126) ([belomaxorka](https://github.com/belomaxorka))
- Make password lenght configurable [\#127](https://github.com/torrentpier/torrentpier-lts/pull/127) ([belomaxorka](https://github.com/belomaxorka)) - Make password lenght configurable [\#127](https://github.com/torrentpier/torrentpier-lts/pull/127) ([belomaxorka](https://github.com/belomaxorka))
- Increase mysql types limits [\#128](https://github.com/torrentpier/torrentpier-lts/pull/128) ([belomaxorka](https://github.com/belomaxorka)) - Increase mysql types limits [\#128](https://github.com/torrentpier/torrentpier-lts/pull/128) ([belomaxorka](https://github.com/belomaxorka))
- Added installed extensions check [\#129](https://github.com/torrentpier/torrentpier-lts/pull/129) ([belomaxorka](https://github.com/belomaxorka))
- Make sql log file name configurable [\#130](https://github.com/torrentpier/torrentpier-lts/pull/130) ([belomaxorka](https://github.com/belomaxorka))
- Enhanced https check [\#131](https://github.com/torrentpier/torrentpier-lts/pull/131) ([belomaxorka](https://github.com/belomaxorka))
- Minor fixes [\#124](https://github.com/torrentpier/torrentpier-lts/pull/124) ([belomaxorka](https://github.com/belomaxorka)) - Minor fixes [\#124](https://github.com/torrentpier/torrentpier-lts/pull/124) ([belomaxorka](https://github.com/belomaxorka))
## [v2.1.5-2023.03](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.03) (2023-04-04) ## [v2.1.5-2023.03](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.03) (2023-04-04)

View File

@ -333,7 +333,7 @@ $page_cfg['show_sidebar2'] = array(
// Cookie // Cookie
$bb_cfg['cookie_domain'] = in_array($domain_name, array(getenv('SERVER_ADDR'), 'localhost')) ? '' : ".$domain_name"; $bb_cfg['cookie_domain'] = in_array($domain_name, array(getenv('SERVER_ADDR'), 'localhost')) ? '' : ".$domain_name";
$bb_cfg['cookie_secure'] = (!empty($_SERVER['HTTPS']) ? 1 : 0); $bb_cfg['cookie_secure'] = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443;
$bb_cfg['cookie_prefix'] = 'bb_'; // 'bb_' $bb_cfg['cookie_prefix'] = 'bb_'; // 'bb_'
// Sessions // Sessions