mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Display upgrade alert on main admin page only.
This commit is contained in:
@@ -185,8 +185,8 @@ if (isset($potential))
|
||||
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
|
||||
e107::getScBatch('admin');
|
||||
echo $tp->parseTemplate('{ADMIN_COREUPDATE=alert}',true);
|
||||
|
||||
// auto db update
|
||||
if ('0' == ADMINPERMS)
|
||||
@@ -194,6 +194,9 @@ if ('0' == ADMINPERMS)
|
||||
require_once(e_ADMIN.'update_routines.php');
|
||||
update_check();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// end auto db update
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user