CI_Loader::config()

config($file[, $use_sections = FALSE[, $fail_gracefully = FALSE]])

Parameters:
  • $file (string) – Configuration file name
  • $use_sections (bool) – Whether configuration values should be loaded into their own section
  • $fail_gracefully (bool) – Whether to just return FALSE in case of failure
Returns:

TRUE on success, FALSE on failure

Return type:

bool

This method is an alias of the config file loading method: $this->config->load()

doc_CodeIgniter
2016-10-15 16:31:42
Comments
Leave a Comment

Please login to continue.