Browse Source

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".
pull/68/head
Sardach 2 years ago
committed by discomrade
parent
commit
32cb9db6b7
  1. 2
      inc/functions.php

2
inc/functions.php

@ -345,7 +345,7 @@ function define_groups() {
foreach ($config['mod']['groups'] as $group_value => $group_name) {
$group_name = strtoupper($group_name);
if(!defined($group_name)) {
define($group_name, $group_value, true);
define($group_name, $group_value);
}
}

Loading…
Cancel
Save