1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

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:
Sardach 2020-10-30 19:56:49 -06:00 committed by Fredrick Brennan
parent 6ccaf19045
commit 19151def82

View File

@ -401,7 +401,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);
}
}