Quote:
Originally Posted by tmhall
Sorry - I'm not a coder but do you have to modify the primary config file to get the db info out of it? Can't you just require ./includes/config.php in mysqlbackupconfig.php instead of putting the db login info in there?
I'm just thinking it's best to limit the number of places where your db login info is.
|
Im using my own settings array to store the info, I could include the primary config file, but I would still have to reference the specified variables.
As they are PHP files, and are simply for configurion having no functions for direct output, it's not gonna hurt anything.