From 4a0ef28b96d53b180d7a5c0e39a2fd09d38f29da Mon Sep 17 00:00:00 2001 From: darkalchemy Date: Sun, 28 Oct 2018 07:27:30 -0400 Subject: [PATCH] update: version to 0.5 --- CHANGELOG | 1 + README.md | 2 +- include/bittorrent.php | 2 +- package.json | 2 +- public/install/extra/ann_config.phpsample.php | 3 ++- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 9324626c9..0582c92bb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ 28 Oct, 2018 +update: version to 0.5 update: database files fix: installer updating removed table fix: installer remove checks for settings depecrated by MariaDB 10.3 diff --git a/README.md b/README.md index 7335a7c52..152fc1e82 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Pu-239 v0.4 +# Pu-239 v0.5 ## Goals: 1. Updated to PHP 7.2 - default settings - Done diff --git a/include/bittorrent.php b/include/bittorrent.php index 38926c0d4..d1909c41f 100644 --- a/include/bittorrent.php +++ b/include/bittorrent.php @@ -64,7 +64,7 @@ class curuser require_once INCL_DIR . 'database.php'; if (!$site_config['in_production']) { - $pu239_version = new SebastianBergmann\Version('0.4', ROOT_DIR); + $pu239_version = new SebastianBergmann\Version('0.5', ROOT_DIR); $site_config['version'] = $pu239_version->getVersion(); } diff --git a/package.json b/package.json index 0ddcd1863..346813b26 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Pu-239", - "version": "0.4.0", + "version": "0.5.0", "description": "A torrent tracker", "main": "index.js", "scripts": { diff --git a/public/install/extra/ann_config.phpsample.php b/public/install/extra/ann_config.phpsample.php index af02a1324..dc1b65b4c 100644 --- a/public/install/extra/ann_config.phpsample.php +++ b/public/install/extra/ann_config.phpsample.php @@ -14,7 +14,7 @@ $site_config['pic_baseurl'] = $site_config['baseurl'] . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR; require_once CACHE_DIR . 'class_config.php'; -const REQUIRED_PHP = 70100, REQUIRED_PHP_VERSION = '7.1.0'; +const REQUIRED_PHP = 70200, REQUIRED_PHP_VERSION = '7.2.0'; if (version_compare(PHP_VERSION, REQUIRED_PHP_VERSION, '>=')) { date_default_timezone_set('UTC'); } @@ -36,6 +36,7 @@ $site_config['expires']['torrent_announce'] = 86400; $site_config['expires']['torrent_details'] = 2591999; $site_config['expires']['user_cache'] = 2591999; +$site_config['minvotes'] = 1; $site_config['query_limit'] = 65536; // mysql placeholder limit require_once INCL_DIR . 'database.php';