1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Removed some LAN constant usage from core templates.

This commit is contained in:
Cameron
2021-02-23 12:58:51 -08:00
parent 76af210666
commit f30caaf18b
18 changed files with 178 additions and 233 deletions

View File

@@ -13,6 +13,10 @@ function lan_shortcode($parm = '')
{
return constant($lan);
}
elseif(defined('LAN_'.$lan))
{
return constant('LAN_'.$lan);
}
elseif(ADMIN)
{
return "<span class='alert alert-danger'><strong>".$parm ."</strong> is undefined</span>"; // debug info