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);