diff --git a/README.md b/README.md index a806b2a..4d1d243 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Click an image for the full size. See the [screenshot gallery](docs/images/scree ## Requirements - phpBB 3.3.19 or later, including phpBB 4.0 (tested on its 4.0.0-a3 development version) -- PHP 8.3.36 or later +- PHP 8.1 or later ## Installation diff --git a/composer.json b/composer.json index cabcb24..d4af2de 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": ">=8.3.36", + "php": ">=8.1.0", "composer/installers": "^1.0 || ^2.0" }, "require-dev": { diff --git a/ext.php b/ext.php index b67cbe3..8552440 100644 --- a/ext.php +++ b/ext.php @@ -72,13 +72,13 @@ public function check_phpbb_version() } /** - * Requires PHP 8.3.36 due to security fixes. + * Requires PHP 8.1.0 or later. * * @return bool */ public function check_php_version() { - return PHP_VERSION_ID >= 80336; + return PHP_VERSION_ID >= 80100; } /** diff --git a/language/en/install_contactadmin.php b/language/en/install_contactadmin.php index d4ac0e3..bc9411b 100644 --- a/language/en/install_contactadmin.php +++ b/language/en/install_contactadmin.php @@ -38,6 +38,6 @@ // $lang = array_merge($lang, [ - 'CONTACTADMIN_NOT_ENABLEABLE' => 'Contact Admin could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', + 'CONTACTADMIN_NOT_ENABLEABLE' => 'Contact Admin could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.1 were not satisfied.', 'CONTACTADMIN_DISABLE_OLD' => 'Disable the old ā€œ%sā€ extension first. Keep its data; do not delete it.', ]);