BlackCatDevelopment / BlackCatCMS

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

Rename config.php #324

Closed webbird closed 7 years ago

webbird commented 9 years ago

We already removed the database settings from the config.php (only the TABLE_PREFIX is still there), but it would be more secure to rename that file, too. I don't know if it's possible to have a random name for it, too. And maybe it should be moved to a folder that has a .htaccess file.

webbird commented 7 years ago

In BC2, the config.php will be located in the engine path, which is normally located outside htdocs / public. In the site path, there will be a config.php that only sets the engine path and some hazard-free globals like SiteID and SiteURL.