Hide hidden files in browser
-
Hello,
I changed in server-file-browser this code line:
//$files = scandir( $_POST[‘dir’]);
$files = preg_grep(‘/^([^.])/’, scandir($_POST[‘dir’]));Based in this link:
http://stackoverflow.com/questions/8532569/exclude-hidden-files-from-scandir-phpI would like you change it in next update, so hidden files like “.htaccess” or others will be hide.
Thanks.
Eldoran
The topic ‘Hide hidden files in browser’ is closed to new replies.