From f041022b206719216dc59c40885513bceb9e3bd1 Mon Sep 17 00:00:00 2001 From: Banana Date: Thu, 19 Jun 2025 22:19:35 +0200 Subject: [PATCH] version 1.6 Neon Signed-off-by: Banana --- CHANGELOG | 3 ++- VERSION | 2 +- documentation/requirements.txt | 2 +- documentation/setup.txt | 2 +- documentation/update.txt | 2 +- webroot/lib/summoner.class.php | 3 ++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index a70e7d1..d00ca40 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,5 @@ -yyyymmdd version 1.x Neon +20250619 version 1.6 Neon +* Required PHP 8.3 now. * Moved and added settings to config file. See update.txt * Better logging * Updated client/webclient diff --git a/VERSION b/VERSION index f41d507..b25e74e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.x Neon +1.6 Neon diff --git a/documentation/requirements.txt b/documentation/requirements.txt index 63d5c02..b541592 100644 --- a/documentation/requirements.txt +++ b/documentation/requirements.txt @@ -1,4 +1,4 @@ -PHP >= 8.1 +PHP >= 8.3 Apache >= 2.4 - mod_deflate - mod_rewrite diff --git a/documentation/setup.txt b/documentation/setup.txt index 86dd763..307600d 100644 --- a/documentation/setup.txt +++ b/documentation/setup.txt @@ -1,7 +1,7 @@ Unpack and move everything in the webroot folder to a web-accessible folder into your webserver. -Rename config.default.php t config.php. +Rename config.default.php to config.php. Open config.php, read the comments and make your changes. diff --git a/documentation/update.txt b/documentation/update.txt index 15c973c..e44fc9e 100644 --- a/documentation/update.txt +++ b/documentation/update.txt @@ -5,7 +5,7 @@ Update process is as follows: - update your config.php - make sure of any special update steps listed below. -## x.x Neon +## 1.6 Neon Moved and added settings to config file. See config.default.php Make sure to add (with default values): const DEBUG = false; diff --git a/webroot/lib/summoner.class.php b/webroot/lib/summoner.class.php index 7d51b4f..720c436 100644 --- a/webroot/lib/summoner.class.php +++ b/webroot/lib/summoner.class.php @@ -13,7 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. * - * 2019 - 2023 https://://www.bananas-playground.net/projekt/selfpaste + * 2019 - 2025 https://://www.bananas-playground.net/projekt/selfpaste */ /** @@ -165,6 +165,7 @@ class Summoner { * create a short string based on a integer * * @see https://www.jwz.org/base64-shortlinks/ + * @param string $id * @return string */ static function b64sl_pack_id(string $id): string { -- 2.39.5