try to fix preg match on excluded files

2.28
Jean-Christian Paul Denis 2023-03-14 20:45:40 +01:00
parent 17f5ea7111
commit ac34c285ab
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Core
{
public static function quote_exclude(array $exclude): array
{
foreach (My::EXCLUDED_FILES as $k => $v) {
foreach ($exclude as $k => $v) {
$exclude[$k] = '#(^|/)(' . str_replace(
['.', '*'],
['\.', '.*?'],