Beispiel #1
0
function lang($key = null)
{
    if (!APP::$lang) {
        APP::$lang = file_exists(APP_FILE . 'lang.php') ? include APP_FILE . 'lang.php' : array();
    }
    return $key ? APP::$lang[$key] : APP::$lang;
}