library/core/class.gdn.php
public static function Config($Name = FALSE, $Default = FALSE) {
      $Config = self::$_Config;
      if ($Name === FALSE)
         $Result = $Config;
      else
         $Result = $Config->Get($Name, $Default);
         
      return $Result;
   }
public static function Config($Name = FALSE, $Default = FALSE) {
      $Config = self::$_Config;
      if ($Name === FALSE)
         $Result = $Config;
      else
         $Result = $Config->Get($Name, $Default);
         
      return $Result;
   }
public static function Config ( $ Name = FALSE , $ Default = FALSE ) { $ Config = self :: $ _Config ; if ( $ Name === FALSE ) $ Result = $ Config ; else $ Result = $ Config -> Get ( $ Name , $ Default ) ; return $ Result ; }
Get a configuration setting for the application.
@param string $Name The name of the configuration setting. Settings in different sections are seperated by a dot ('.')
@param mixed $Default The result to return if the configuration setting is not found.
@return mixed The configuration setting.
Get a configuration setting for the application .