$config
$config : array
List of all loaded config values
Config Class
This class contains functions that enable config files to be managed
load(string $file = '', boolean $use_sections = FALSE, boolean $fail_gracefully = FALSE) : boolean
Load Config File
string | $file | Configuration file name |
boolean | $use_sections | Whether configuration values should be loaded into their own section |
boolean | $fail_gracefully | Whether to just return FALSE or display an error message |
TRUE if the file was loaded correctly or FALSE on failure
set_item(string $item, string $value) : void
Set a config file item
string | $item | Config item key |
string | $value | Config item value |
None found |
_uri_string(string|array<mixed,string> $uri) : string
Build URI string
string|array<mixed,string> | $uri | URI string or an array of segments |
used-by |
CI_Config::site_url() CI_Config::base_url() |
---|