MyBB Community Forums

Full Version: Settings.php and Config.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
...

I accidentally cleared both of them while trying to run an upgrade script that I forgot to run when upgrading to 1.28. So, can someone post a template of the contents of these two files, as fast as possible?

Example:

Quote:Settings.php:

<?php
//Whatever:
$whatever = 
?>

Config.php:

<?php
//Whatever:
$whatever = 
?>
config.php
http://community.mybboard.net/showthread.php?tid=17290

don't know how the settings.php looks like on a fresh board.
settings.php will automatically be rebuilt if it is missing - so delete the file again and after you have your config.php back up, visit your board and it should rebuild it.
Thanks. Now I need the settings (or maybe it will now let me edit settings.php).

EDIT: Hmm. Now I can access by board. What was stored in settings.php anyway? What settings might I be missing?
Your settings.php is basically a pre-parsed cache of the mybb_settings table. If it's missing, MyBB will automatically rebuild it
Okay, it's good to know that I didn't lose anything. Smile