You can tell QuiXplorer to hide items starting with a '.' by setting "show_hidden" to false.
You can also tell QuiXplorer to hide items matching a certain pattern (defined in "no_access").
e.g. to hide all items starting with '.ht', use "^\.ht" as a pattern; to hide all '.php' & '.pl' items, use "\.php$|\.pl$".
(http://www.php.net/manual/en/ref.regex.php)
Note that this hides ALL items matching this pattern.
In case you can't change the name of the directory or want to avoid problems with other items matching the pattern:
I'll implement a feature that will allow you to specify a path & a pattern in the next version of QuiXplorer
I hope this helps you out...
Regards,
Felix
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to hide a directory from view for security reasons, what would be the best way modify the code to perform that tasks in QuiXplorer
You can tell QuiXplorer to hide items starting with a '.' by setting "show_hidden" to false.
You can also tell QuiXplorer to hide items matching a certain pattern (defined in "no_access").
e.g. to hide all items starting with '.ht', use "^\.ht" as a pattern; to hide all '.php' & '.pl' items, use "\.php$|\.pl$".
(http://www.php.net/manual/en/ref.regex.php)
Note that this hides ALL items matching this pattern.
In case you can't change the name of the directory or want to avoid problems with other items matching the pattern:
I'll implement a feature that will allow you to specify a path & a pattern in the next version of QuiXplorer
I hope this helps you out...
Regards,
Felix