From f4db62f7306bbe618166ed1b2518cf4cf30bd43a Mon Sep 17 00:00:00 2001 From: Conner Harkness Date: Fri, 12 Sep 2025 14:37:16 -0600 Subject: [PATCH] Fixed find command to search in symlinks --- pages/run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/run.php b/pages/run.php index 194ee8b..b028046 100644 --- a/pages/run.php +++ b/pages/run.php @@ -14,7 +14,7 @@ $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 = array_filter($varFiles);