[UPDATE] Remove config disable check popup from admins
This commit is contained in:
parent
b9ab718d71
commit
5ed89f94a2
@ -99,13 +99,6 @@ if (count(@$_SESSION['last_ip_pop']) == 2) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// version check and config check if not disabled
|
|
||||||
if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA']['id'])) {
|
|
||||||
if (!@$config['skip_config_tests'] && @$_GET['action'] != 'setup') {
|
|
||||||
$_SESSION['POPUP'][] = array('CONTENT' => "You haven't turned off config checks, visit the <b><a href='?page=admin&action=setup'>setup page</a></b> for further information.", 'DISMISS' => 'yes', 'ID' => 'lastlogin', 'TYPE' => 'alert alert-info');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create our pages array from existing files
|
// Create our pages array from existing files
|
||||||
if (is_dir(INCLUDE_DIR . '/pages/')) {
|
if (is_dir(INCLUDE_DIR . '/pages/')) {
|
||||||
foreach (glob(INCLUDE_DIR . '/pages/*.inc.php') as $filepath) {
|
foreach (glob(INCLUDE_DIR . '/pages/*.inc.php') as $filepath) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user