mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Minor improvements (#1452)
* Minor improvements * Updated * Create updater.php * Revert "Create updater.php" This reverts commitbe2f3d5006
. * Revert "Updated" This reverts commit6aae9339cd
. * Updated * Update board_maintenance.php * Updated * Updated * Update build_check_updates.php * Updated * Update board_maintenance.php * Update functions.php * Updated * Update defines.php * Updated * Updated * Updater * Updated * Update .gitignore * Update * Update updater.php * Updated * Update tracker.php * Update .htaccess * Update tracker.php * Update tracker.tpl * Update CHANGELOG.md
This commit is contained in:
parent
b7b110906b
commit
24dbd25d9b
12 changed files with 110 additions and 39 deletions
|
@ -27,6 +27,9 @@ define('USER_IP', $user_ip);
|
|||
// Initialize demo mode
|
||||
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))));
|
||||
|
||||
/**
|
||||
* @param $contents
|
||||
* @return string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue