Skip to content

Bash script to find and create missing Prestashop index.php files.

License

Notifications You must be signed in to change notification settings

creativewave/ps-missing-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Prestashop missing index

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;

See Apache, or Nginx

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.

About

Bash script to find and create missing Prestashop index.php files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages