Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
My 'config.php' file is very different from the 2.1b2 default
raphaa00
New
I'm not experiencing any issues right now, but my 'config.php' file is very different from the default file, referenced here: https://raw.github.com/vanillaforums/Garden/2.1/conf/config-defaults.php
My file follows below, omitting personal info:
// Conversations $Configuration['Conversations']['Version'] = '2.0.17.10'; // Database // EnabledApplications $Configuration['EnabledApplications']['Conversations'] = 'conversations'; $Configuration['EnabledApplications']['Vanilla'] = 'vanilla'; // EnabledLocales $Configuration['EnabledLocales']['vf_pt_BR'] = 'pt-BR'; // EnabledPlugins $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed'; $Configuration['EnabledPlugins']['Tagging'] = 'Tagging'; $Configuration['EnabledPlugins']['Signatures'] = 'Signatures'; $Configuration['EnabledPlugins']['SplitMerge'] = TRUE; $Configuration['EnabledPlugins']['VanillaStats'] = TRUE; $Configuration['EnabledPlugins']['TranslationCollector'] = TRUE; $Configuration['EnabledPlugins']['StopForumSpam'] = TRUE; $Configuration['EnabledPlugins']['LastEdited'] = TRUE; $Configuration['EnabledPlugins']['ButtonBar'] = TRUE; $Configuration['EnabledPlugins']['Gravatar'] = TRUE; $Configuration['EnabledPlugins']['CleanLog'] = TRUE; $Configuration['EnabledPlugins']['ProfileExtender'] = TRUE; $Configuration['EnabledPlugins']['VanillaInThisDiscussion'] = TRUE; $Configuration['EnabledPlugins']['IndexPhotos'] = TRUE; $Configuration['EnabledPlugins']['RoleTitle'] = TRUE; $Configuration['EnabledPlugins']['Voting'] = TRUE; $Configuration['EnabledPlugins']['Flagging'] = TRUE; $Configuration['EnabledPlugins']['NBBC'] = TRUE; $Configuration['EnabledPlugins']['Quotes'] = TRUE; // Garden $Configuration['Garden']['Cookie']['Domain'] = ''; $Configuration['Garden']['Version'] = '2.1b2'; $Configuration['Garden']['RewriteUrls'] = TRUE; $Configuration['Garden']['CanProcessImages'] = TRUE; $Configuration['Garden']['Installed'] = TRUE; $Configuration['Garden']['Errors']['MasterView'] = 'error.master.php'; $Configuration['Garden']['Registration']['Method'] = 'Approval'; $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week'; $Configuration['Garden']['Registration']['InviteRoles']['8'] = '0'; $Configuration['Garden']['Registration']['InviteRoles']['32'] = '0'; $Configuration['Garden']['Registration']['InviteRoles']['16'] = '0'; $Configuration['Garden']['Registration']['InviteRoles']['33'] = '0'; $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '33'; $Configuration['Garden']['Registration']['ConfirmEmail'] = '1'; $Configuration['Garden']['Locale'] = 'pt-BR'; $Configuration['Garden']['EditContentTimeout'] = '-1'; $Configuration['Garden']['Authenticator']['SignOutUrl'] = '/entry/signout/{Session_TransientKey}'; $Configuration['Garden']['Email']['UseSmtp'] = FALSE; $Configuration['Garden']['Email']['SmtpHost'] = ''; $Configuration['Garden']['Email']['SmtpUser'] = ''; $Configuration['Garden']['Email']['SmtpPassword'] = ''; $Configuration['Garden']['Email']['SmtpPort'] = '25'; $Configuration['Garden']['Email']['SmtpSecurity'] = ''; $Configuration['Garden']['InputFormatter'] = 'BBCode'; $Configuration['Garden']['Format']['Hashtags'] = FALSE; $Configuration['Garden']['Messages']['Cache'] = array('[Base]'); $Configuration['Garden']['Html']['SafeStyles'] = FALSE; $Configuration['Garden']['CombineAssets'] = TRUE; // Plugins $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1'; $Configuration['Plugins']['GettingStarted']['Categories'] = '1'; $Configuration['Plugins']['GettingStarted']['Plugins'] = '1'; $Configuration['Plugins']['GettingStarted']['Discussion'] = '1'; $Configuration['Plugins']['GettingStarted']['Registration'] = '1'; $Configuration['Plugins']['GettingStarted']['Profile'] = '1'; $Configuration['Plugins']['OpenID']['Enabled'] = TRUE; $Configuration['Plugins']['GoogleSignIn']['Enabled'] = TRUE; $Configuration['Plugins']['Signatures']['Enabled'] = TRUE; $Configuration['Plugins']['Tagging']['Enabled'] = TRUE; $Configuration['Plugins']['Flagging']['Enabled'] = TRUE; $Configuration['Plugins']['StopForumSpam']['UserID'] = '746'; $Configuration['Plugins']['Voting']['ModThreshold1'] = '-16'; $Configuration['Plugins']['Voting']['ModThreshold2'] = '-30'; $Configuration['Plugins']['AuthorTimeView']['Show_AuthorTime'] = '1'; $Configuration['Plugins']['AuthorTimeView']['Show_Vcount'] = FALSE; $Configuration['Plugins']['CleanLog']['DCount'] = '0'; $Configuration['Plugins']['ProfileExtender']['ProfileFields'] = 'Location,Facebook,Twitter,Website'; $Configuration['Plugins']['ProfileExtender']['RegistrationFields'] = ''; $Configuration['Plugins']['ProfileExtender']['TextMaxLength'] = '140'; $Configuration['Plugins']['ProfileExtender']['HideFields'] = ''; // Routes $Configuration['Routes']['DefaultController'] = array('discussions', 'Internal'); // Vanilla $Configuration['Vanilla']['Version'] = '2.0.17.10'; $Configuration['Vanilla']['Categories']['MaxDisplayDepth'] = '3'; $Configuration['Vanilla']['Categories']['DoHeadings'] = FALSE; $Configuration['Vanilla']['Categories']['HideModule'] = FALSE; $Configuration['Vanilla']['Categories']['Use'] = '1'; $Configuration['Vanilla']['Categories']['Layout'] = 'modern'; $Configuration['Vanilla']['Comments']['AutoOffset'] = TRUE; $Configuration['Vanilla']['Comments']['AutoRefresh'] = NULL; $Configuration['Vanilla']['Comments']['PerPage'] = '30'; $Configuration['Vanilla']['Comment']['MaxLength'] = '600000'; $Configuration['Vanilla']['Comment']['SpamCount'] = '30'; $Configuration['Vanilla']['Comment']['SpamTime'] = '30'; $Configuration['Vanilla']['Comment']['SpamLock'] = '180'; $Configuration['Vanilla']['Discussions']['PerPage'] = '30'; $Configuration['Vanilla']['Discussions']['Layout'] = 'modern'; $Configuration['Vanilla']['Archive']['Date'] = ''; $Configuration['Vanilla']['Archive']['Exclude'] = FALSE; $Configuration['Vanilla']['AdminCheckboxes']['Use'] = '1'; $Configuration['Vanilla']['Discussion']['SpamCount'] = '3'; $Configuration['Vanilla']['Discussion']['SpamTime'] = '30'; $Configuration['Vanilla']['Discussion']['SpamLock'] = '180';
Is there something obsolete or something that needs to be added?
2.0.17.10 info is still showing around, should I remove it?
Is this file based on 'config-default.php' or they both work together?
0
Comments
Some plugin information from other plugins that you have enabled will continue to write to the config.php
As long as they are compatible.
There are a few new things in the 2.1 config.php
The config-defaults.php contains the default configuration and should not be edited.
The config.php gets generated upon installation and populated with the pertaining configurations.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌