diff --git a/common/functions.php b/common/functions.php index 72193e426..d10638ef7 100644 --- a/common/functions.php +++ b/common/functions.php @@ -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. *