Search in sub folders #954
Unanswered
mariusbors
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
this script searches the files and other data only in subfolders, how can we make it to search all data from root folder?
here is the search functions (i guess- am not a programmer)
//search : get list of files from the current folder
if(isset($_POST['type']) && $_POST['type']=="search") {
$dir = FM_ROOT_PATH;
$response = scan(fm_clean_path($_POST['path']), $_POST['content']);
echo json_encode($response);
exit();
Beta Was this translation helpful? Give feedback.
All reactions