Update functions.php

Fix PHP7.4
This commit is contained in:
wdammak
2020-09-29 20:52:24 +02:00
committed by GitHub
parent 3e3dc9fbaa
commit e96e1319e4

View File

@@ -202,7 +202,7 @@ function getDirContent($path)
if (is_dir($path)) {
$d = dir($path);
while (false !== ($entry = $d->read())) {
if ($entry{0} != '.') {
if ($entry[0] != '.') {
$content[] = $entry;
}
}