BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

v1.2: BC should not overwrite existing .htaccess #319

Closed webbird closed 9 years ago

webbird commented 9 years ago

If enabling Short URLs in the Backend, BC creates a .htaccess file that contains the appropriate Rewrite rules. If there's already a customized .htaccess, it will be overwritten.

Suggestion: If an .htaccess exists, write the Rewrite rules into a different file (for example, .htaccess_BlackCatCMS_ReadMe) and leave the existing file alone. Open a dialog to inform the admin.