mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1477)
* Minor improvements * Update CHANGELOG.md * Update CHANGELOG.md
This commit is contained in:
parent
b9147768cc
commit
2fa3520872
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ define('USER_IP', $user_ip);
|
|||
define('IN_DEMO_MODE', env('APP_DEMO_MODE', false));
|
||||
|
||||
// Version code
|
||||
define('VERSION_CODE', (int)trim(str_replace(['.', 'v', ','], '', strstr($bb_cfg['tp_version'], '-', true))));
|
||||
define('VERSION_CODE', (int)trim(str_replace(['.', 'v', ','], '', $bb_cfg['tp_version'])));
|
||||
|
||||
/**
|
||||
* @param $contents
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue