Fixed find command to search in symlinks

This commit is contained in:
Conner Harkness 2025-09-12 14:37:16 -06:00
parent 92ab3baa8e
commit f4db62f730

View File

@ -14,7 +14,7 @@
$strInput = substr($strInput, strlen($strQueryDir) + 1); $strInput = substr($strInput, strlen($strQueryDir) + 1);
} }
$strFind = shell_exec("find {$strQueryDir} | grep -Ei \"\.sql$\""); $strFind = shell_exec("find {$strQueryDir}/ | grep -Ei \"\.sql$\"");
$varFiles = explode("\n", $strFind); $varFiles = explode("\n", $strFind);
$varFiles = array_filter($varFiles); $varFiles = array_filter($varFiles);