forked from GithubBackups/vichan
insignificant fix
PHP7 shows a warning when executing tools/rebuild2.php: "Declaration of case-insensitive constants is deprecated" $group_name and $group_value really not need be case-insensitive, so i simply removed that "true".
This commit is contained in:
parent
6ccaf19045
commit
19151def82
@ -401,7 +401,7 @@ function define_groups() {
|
|||||||
foreach ($config['mod']['groups'] as $group_value => $group_name) {
|
foreach ($config['mod']['groups'] as $group_value => $group_name) {
|
||||||
$group_name = strtoupper($group_name);
|
$group_name = strtoupper($group_name);
|
||||||
if(!defined($group_name)) {
|
if(!defined($group_name)) {
|
||||||
define($group_name, $group_value, true);
|
define($group_name, $group_value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user