original_string: public function Setup() {
        $Database = Gdn::Database();
        $Config = Gdn::Factory(Gdn::AliasConfig);
        $Drop = Gdn::Config('Vanilla.Version') === FALSE ? TRUE : FALSE;
        $Explicit = TRUE;
        
        // Call structure.php to update database
        $Validation = new Gdn_Validation(); // Needed by structure.php to validate permission names
        include(PATH_APPLICATIONS . DS . 'vanilla' . DS . 'settings' . DS . 'structure.php');
  
        SaveToConfig('Routes.DefaultController', 'discussions');
     }
code: public function Setup() {
        $Database = Gdn::Database();
        $Config = Gdn::Factory(Gdn::AliasConfig);
        $Drop = Gdn::Config('Vanilla.Version') === FALSE ? TRUE : FALSE;
        $Explicit = TRUE;
        
        // Call structure.php to update database
        $Validation = new Gdn_Validation(); // Needed by structure.php to validate permission names
        include(PATH_APPLICATIONS . DS . 'vanilla' . DS . 'settings' . DS . 'structure.php');
  
        SaveToConfig('Routes.DefaultController', 'discussions');
     }
code_tokens: public function Setup ( ) { $ Database = Gdn :: Database ( ) ; $ Config = Gdn :: Factory ( Gdn :: AliasConfig ) ; $ Drop = Gdn :: Config ( 'Vanilla.Version' ) === FALSE ? TRUE : FALSE ; $ Explicit = TRUE ; // Call structure.php to update database $ Validation = new Gdn_Validation ( ) ; // Needed by structure.php to validate permission names include ( PATH_APPLICATIONS . DS . 'vanilla' . DS . 'settings' . DS . 'structure.php' ) ; SaveToConfig ( 'Routes.DefaultController' , 'discussions' ) ; }
docstring: Automatically executed when application is enabled.
  
  @since 2.0.0
  @package Vanilla
docstring_tokens: Automatically executed when application is enabled .