Default config value - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Development (https://community.mybb.com/forum-68.html) +---- Thread: Default config value (/thread-48702.html) |
Default config value - resig - 2009-04-22 Hey, I'm using this code to add a new setting to the ACP:
Works fine, but is there a way to set a default value? I want the default cache to be 10 minutes, but I'm not sure how. Thanks RE: Default config value - frostschutz - 2009-04-22 'value' => "10 minutes" RE: Default config value - resig - 2009-04-22 Ah true. I'm evidently blind. Thanks for the help |