mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Enhanced https check (#131)
This commit is contained in:
parent
cc1e2e8d8a
commit
5518ce99b9
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user