mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Add shortcut function to system configuration
This commit is contained in:
parent
acd3b66eff
commit
e89a1232b1
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue