CI_Config::load()

load([$file = ''[, $use_sections = FALSE[, $fail_gracefully = FALSE]]])

Parameters:
  • $file (string) – Configuration file name
  • $use_sections (bool) – Whether config values shoud be loaded into their own section (index of the main config array)
  • $fail_gracefully (bool) – Whether to return FALSE or to display an error message
Returns:

TRUE on success, FALSE on failure

Return type:

bool

Loads a configuration file.

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

Please login to continue.