1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Added error message for ADMINs if a LAN is missing.

This commit is contained in:
Cameron
2016-04-09 10:58:03 -07:00
parent ccd2bbee25
commit dd294e71fa

View File

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