1
0
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:
Cameron
2013-05-12 04:51:06 -07:00
parent f874fc58da
commit c109689ac9
2 changed files with 6 additions and 3 deletions

View File

@@ -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
/*