Fixed find command to search in symlinks
This commit is contained in:
parent
92ab3baa8e
commit
f4db62f730
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user