Minor improments (#1719)

* Minor improments

* Update CHANGELOG.md

* Updated

* Update common.php
This commit is contained in:
Roman Kelesidis 2024-12-20 20:29:06 +07:00 committed by GitHub
commit edab2300d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,5 @@
# Common params
APP_ENV=production
APP_CRON_ENABLED=true
APP_DEMO_MODE=false

View file

@ -10,7 +10,7 @@
- [PHP 8.4] Fixed some deprecations [\#1718](https://github.com/torrentpier/torrentpier/pull/1718) ([belomaxorka](https://github.com/belomaxorka))
- [Configurable] Show magnet-links for guests [\#1712](https://github.com/torrentpier/torrentpier/pull/1712) ([belomaxorka](https://github.com/belomaxorka))
- Set `cursor: pointer;` for buttons, inputs (buttons) [\#1710](https://github.com/torrentpier/torrentpier/pull/1710), [\#1711](https://github.com/torrentpier/torrentpier/pull/1711) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#1705](https://github.com/torrentpier/torrentpier/pull/1705), [\#1713](https://github.com/torrentpier/torrentpier/pull/1713), [\#1715](https://github.com/torrentpier/torrentpier/pull/1715), [\#1717](https://github.com/torrentpier/torrentpier/pull/1717) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#1705](https://github.com/torrentpier/torrentpier/pull/1705), [\#1713](https://github.com/torrentpier/torrentpier/pull/1713), [\#1715](https://github.com/torrentpier/torrentpier/pull/1715), [\#1717](https://github.com/torrentpier/torrentpier/pull/1717), [\#1719](https://github.com/torrentpier/torrentpier/pull/1719) ([belomaxorka](https://github.com/belomaxorka))
- New Crowdin updates [\#1704](https://github.com/torrentpier/torrentpier/pull/1704), [\#1706](https://github.com/torrentpier/torrentpier/pull/1706), [\#1714](https://github.com/torrentpier/torrentpier/pull/1714), [\#1716](https://github.com/torrentpier/torrentpier/pull/1716) ([Exileum](https://github.com/Exileum))
## [v2.4.5-rc.1](https://github.com/torrentpier/torrentpier/tree/v2.4.5-rc.1) (2024-12-08)

View file

@ -89,7 +89,11 @@ if (is_file(BB_PATH . '/library/config.local.php')) {
/**
* Error reporting
*/
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
if (env('APP_ENV') === 'local') {
define('DBG_USER', true); // forced debug
} else {
define('DBG_USER', isset($_COOKIE[COOKIE_DBG]));
}
(new \TorrentPier\Dev());
/**

View file

@ -23,8 +23,7 @@ $bb_cfg['tp_release_date'] = 'XX-XX-2025';
$bb_cfg['tp_release_codename'] = 'Cattle';
// Increase version number after changing JS or CSS
// Note: by default used same as TorrentPier version
$bb_cfg['js_ver'] = $bb_cfg['css_ver'] = $bb_cfg['tp_version'];
$bb_cfg['js_ver'] = $bb_cfg['css_ver'] = 1;
// Database
// Settings for database ['db']['srv_name'] => (array) srv_cfg;