mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Only display upgrade message to Main admin.
This commit is contained in:
@@ -226,12 +226,14 @@ class admin_start
|
||||
|
||||
|
||||
// ---------------------------------------------------------
|
||||
e107::getScBatch('admin');
|
||||
echo $tp->parseTemplate('{ADMIN_COREUPDATE=alert}',true);
|
||||
|
||||
|
||||
// auto db update
|
||||
if ('0' == ADMINPERMS)
|
||||
{
|
||||
e107::getScBatch('admin');
|
||||
echo $tp->parseTemplate('{ADMIN_COREUPDATE=alert}',true);
|
||||
|
||||
require_once(e_ADMIN.'update_routines.php');
|
||||
update_check();
|
||||
}
|
||||
|
Reference in New Issue
Block a user