diff --git a/ext.php b/ext.php index 05be31e..b643204 100644 --- a/ext.php +++ b/ext.php @@ -14,10 +14,10 @@ class ext extends \phpbb\extension\base { /** * Check whether the extension can be enabled. - * The current phpBB version must be within the range this extension - * supports, and PHP must meet the minimum version. + * The current phpBB and PHP version should meet or + * exceed the minimum version required by this extension: * - * @return bool|string True, or the reason it can't be enabled. + * @return bool|array * @access public */ public function is_enableable() @@ -36,7 +36,8 @@ public function is_enableable() } /** - * Require phpBB 3.3.19 or later within the 3.3 line + * Require phpBB 3.3.19 due to several security fixes in the phpBB software. + * Retain the existing upper limit excluding phpBB 4.0. * * @return bool */ @@ -47,13 +48,13 @@ public function check_phpbb_version() } /** - * Require PHP 8.0 + * Requires PHP 8.3.36 due to security fixes. * * @return bool */ public function check_php_version() { - return PHP_VERSION_ID >= 80000; + return PHP_VERSION_ID >= 80336; } /** diff --git a/language/en/install_documentation.php b/language/en/install_documentation.php index 0e44226..44dbb17 100644 --- a/language/en/install_documentation.php +++ b/language/en/install_documentation.php @@ -38,5 +38,5 @@ // $lang = array_merge($lang, array( - 'DOCUMENTATION_NOT_ENABLEABLE' => 'Documentation could not be enabled. It requires phpBB 3.3.19 or a later 3.3 release, and PHP 8.0.0 or later.', + 'DOCUMENTATION_NOT_ENABLEABLE' => 'Documentation could not be enabled. It requires phpBB 3.3.19 or a later 3.3 release, and PHP 8.3.36 or later.', ));