Add configLua function

This commit is contained in:
tobi132 2019-07-23 07:45:21 +02:00
parent 410c15c997
commit 813de7eb3c

View File

@ -1063,6 +1063,15 @@ function config($key) {
return @$config[$key];
}
function configLua($key) {
global $config;
if (is_array($key)) {
return $config['lua'][$key[0]] = $key[1];
}
return @$config['lua'][$key];
}
function clearCache()
{
global $template_name;