MyBB Community Forums
Editing settings in settings.php or database? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.4 (https://community.mybb.com/forum-80.html)
+------ Forum: MyBB 1.4 General Support (https://community.mybb.com/forum-81.html)
+------ Thread: Editing settings in settings.php or database? (/thread-54342.html)



Editing settings in settings.php or database? - KuJoe - 2009-08-07

Which settings overwrite which? If I remember correctly the database settings overwrite the settings.php right? Pretty much I have multiple forums that I want to use identical configurations (except for site specific settings like URL, cookies, etc...) and want to figure out the easiest way to configure those settings. Smile


RE: Editing settings in settings.php or database? - Polarbear541 - 2009-08-07

Yeah the settings.php is just a copy of the database. If you change anything in the settings.php you will need to change it in the ACP/Database too otherwise the changes will be lost :p


RE: Editing settings in settings.php or database? - Matt - 2009-08-07

The forum uses settings.php. Whatever is in there will be what's used. Saving the settings in the ACP updates the database which then rebuilds settings.php, but it will use settings.php on the forums.