From 5ecf7c6ffbc8e8fbc7825e55f4b13e137d5478d3 Mon Sep 17 00:00:00 2001 From: jakani24 Date: Mon, 1 Apr 2024 11:27:14 +0200 Subject: [PATCH] Update database_settings_functions.php --- .../system/secure_zone/php/database_settings_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/cyberhex-code/system/secure_zone/php/database_settings_functions.php b/src/server/cyberhex-code/system/secure_zone/php/database_settings_functions.php index 04a79eb..3b6b147 100644 --- a/src/server/cyberhex-code/system/secure_zone/php/database_settings_functions.php +++ b/src/server/cyberhex-code/system/secure_zone/php/database_settings_functions.php @@ -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($yara_files, list_yar_files($path)); + $yar_files = array_merge($yar_files, list_yara_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') {