2.3. Global configuration
The core class Config enables you to keep all your global configuration variables in one place which is accessible from anywhere within your application. It's syntax is very basic:
// Write some configuration variables
Config::set('app.dir.cache', '/path/to/my/cache/doler');
// Read values
Config::get('app.dir.cache');
Config::get('app.dir'); /* returns all values in [app.dir] as ahash */
Variable namespaces
You will have noticed that access to configuration variables is by means of a dot-separated namespace convention.
You may use whatever namespaces you want, but must be aware of the three reserved namespaces; [app.*] (all settings related to your application), [core.*] (all settings related to the Buan core) and [ext.*] (all settings related to any Buan Extensions you have installed).