What's the best practice to store database credentials in a CMS? Now I declare them in my Database singleton class:
$this->credentials = array("hostname"=>"hostname", "username"=>"username","password"=>"password", "database"=>"database");
But it's not so intuitive to search where to change them and also I'm planning to make install file for cms later.
Where and how do you store your connection preferences?