You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a5eb0a
Browse filesBrowse the repository at this point in the historyBrowse files
Refuse to enable on phpBB older than 3.3.19 or below the extension's minimum PHP version, showing a clear reason instead of a generic error. phpBB 3.3.17 through 3.3.19 fixed a series of security issues, so older boards should update phpBB first.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* @license GNU General Public License, version 2 (GPL-2.0)
10
+
*
11
+
*/
12
+
13
+
/**
14
+
* DO NOT CHANGE
15
+
*/
16
+
if (!defined('IN_PHPBB'))
17
+
{
18
+
exit;
19
+
}
20
+
21
+
if (empty($lang) || !is_array($lang))
22
+
{
23
+
$lang = [];
24
+
}
25
+
26
+
// DEVELOPERS PLEASE NOTE
27
+
//
28
+
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
29
+
//
30
+
// Placeholders can now contain order information, e.g. instead of
31
+
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
32
+
// translators to re-order the output of data while ensuring it remains correct
33
+
//
34
+
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
35
+
// equally where a string contains only two placeholders which are used to wrap text
36
+
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
37
+
//
38
+
// Some characters you may want to copy&paste:
39
+
// ’ » “ ” …
40
+
//
41
+
42
+
$lang = array_merge($lang, [
43
+
'GROUPSWITCHES_NOT_ENABLEABLE' => 'Group Switches could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 7.4.0 were not satisfied.',
0 commit comments