Add shortcut function to system configuration

This commit is contained in:
Kijin Sung 2016-02-04 17:55:38 +09:00
parent acd3b66eff
commit e89a1232b1

View file

@ -6,6 +6,16 @@
* Copyright (c) Rhymix Developers and Contributors
*/
/**
* Get system configuration.
*
* @param string $key
* @return mixed
*/
function config($key)
{
return Rhymix\Framework\Config::get($key);
}
/** Get the first value of an array.
*