Update database_settings_functions.php

This commit is contained in:
jakani24
2024-04-01 11:26:44 +02:00
parent ea54847509
commit 6d175e70f9

View File

@@ -71,7 +71,7 @@ function list_yara_files($dir) {
$path = $dir . '/' . $entry;
// If the entry is a directory, call the function recursively
if (is_dir($path)) {
$yar_files = array_merge($yar_files, list_yar_files($path));
$yar_files = array_merge($yara_files, list_yar_files($path));
}
// If the entry is a file and ends with .yar extension, add it to the array
elseif (is_file($path) && pathinfo($path, PATHINFO_EXTENSION) === 'yar') {