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:
@@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user