MY_Loader::config PHP Method

config() public method

Loads a config file (an alias for CI_Config::load()).
public config ( string $file, boolean $use_sections = FALSE, boolean $fail_gracefully = FALSE ) : boolean
$file string Configuration file name
$use_sections boolean Whether configuration values should be loaded into their own section
$fail_gracefully boolean Whether to just return FALSE or display an error message
return boolean TRUE if the file was loaded correctly or FALSE on failure
    public function config($file, $use_sections = FALSE, $fail_gracefully = FALSE)
    {
        $CI = $this->get_instance();
        return $CI->config->load($file, $use_sections, $fail_gracefully);
    }