mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Admin template upgraded to v2 standards. Admin boot, header, footer cleanup.
This commit is contained in:
@@ -26,14 +26,14 @@ if(varset($_GET['mode']) == 'customize')
|
||||
}
|
||||
|
||||
// check that the bootstrap library path is up-to-date before the header is loaded.
|
||||
if($info = e107::getLibrary()->load('bootstrap'))
|
||||
/*if($info = e107::getLibrary()->load('bootstrap'))
|
||||
{
|
||||
if($info['path'] !== '3')
|
||||
{
|
||||
e107::getCache()->clearAll('library');
|
||||
e107::getCache()->clearAll('browser');
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
e107::getDebug()->logTime('[admin.php: Loading admin_icons]');
|
||||
//include_once(e107::coreTemplatePath('admin_icons'));
|
||||
@@ -210,6 +210,9 @@ class admin_start
|
||||
e107::getRedirect()->go(e_REQUEST_SELF);
|
||||
}
|
||||
|
||||
// delete half-completed user accounts. (previously called in header.php )
|
||||
e107::getUserSession()->deleteExpired();
|
||||
|
||||
}
|
||||
|
||||
private function checkPaths()
|
||||
|
Reference in New Issue
Block a user