Config
These are added to the $settings in app/config.php
config_db($host, $uname, $pwd, $dbname, $environment = null) If using environment, it should have already been set in the $db array before calling this method. If the environment doesnt match the current one, it wont be configured.
This is used by the default template to print the title / copyright message etc. It makes use of the site_info method defined in inc/view.php
This tells what subfolder of app/templates/ to look for header.php and footer.php (when !ajax)
This tells whether the controller (actions.php) uses
- a single module - /foo/bar calls foo('bar')
- or the crud approach where /foo/bar/xyz calls foo_bar('xyz')
This tells what the default action is when the one from the url is not found. For example, using a pages action that puts out html files.
This is an array that tells what files from app to load. Think of it like an autoloader for app functions / classes.
any other key may be set in the settings array.