mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Hide system alerts for regular admins.
This commit is contained in:
@@ -109,6 +109,11 @@ class admin_start
|
|||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if(!getperms('0')) // don't display this tuff to regular admins only main admin.
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
$this->deprecated = array(
|
$this->deprecated = array(
|
||||||
e_ADMIN."ad_links.php",
|
e_ADMIN."ad_links.php",
|
||||||
e_PLUGIN."tinymce4/e_meta.php",
|
e_PLUGIN."tinymce4/e_meta.php",
|
||||||
|
Reference in New Issue
Block a user