MyBB Community Forums

Full Version: $mybb->settings new entries not showing up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I inserted some entries into the mybb settings table yet they don't show up in $mybb->settings. Is it cached or something?
Did you call rebuild_settings() after putting stuff in the table? (assuming you mean in a plugin)

Otherwise, inc/settings.php should be rewritten ever time you change a setting in the admin cp, if that doesn't happen, check that the file has the correct permissions
No I did not, is it $mybb->rebuild_settings() or what? Thanks for the info.

EDIT: Nvm lol Toungue
Create a php file:
<?php
define('IN_MYBB', 1);
require './global.php';

rebuild_settings();

?>
Then upload it in your forum root folder (and run the file Toungue)