1.0.7 • Published 10 years ago
wp-auto-index-php v1.0.7
wp-auto-index-php
A command line that create index.php files with Silence is golen! comment in all directories to prevent WordPress project directories from listing.
Installation
npm install -g wp-auto-index-phpUsages
cd /your-wp-project-directory
wp-auto-index-phpBy default, it doesn't create new file if a index.php file is exists in a directory and doesn't create file in root directory, use -f or --force argument to force create new files, use -r or --root argument to also create file in root directory. For example:
wp-auto-index-php -f -r