Description: find and create missing Prestashop index.php file.
These index files prevent the output of a directory index. A better way of doing this is to configure the web server so that it doesn't output it, eg.:
# Apache
Options -Indexes
# Nginx
autoindex off;
Usage (ps-missing-index -h
):
ps-missing-index -i <dir_name> [-option] [-option <argument>]
Commands:
- -s, --silent Don't output directory names.
- -i, --input Directory path to inspect.
- -c, --create Create index.php.