Config::get (method)

Return to Knowledgebase

Purpose

Get configuration info from the init.php file

Location

users/classes/Config.php

Parameters

This function does not take any arguments

Example

Config::get('mysql/username');

Further Documentation:

This is primarily used internally, but there may be times that you want to return configuration info such as needing to connect another service to your database. will grab your database username from the init.php file.