model('setting'); load()->func('communication'); if(checksubmit('bae_delete_update') || checksubmit('bae_delete_install')) { if(!empty($_GPC['bae_delete_update'])) { unlink(IA_ROOT . '/data/update.lock'); } elseif(!empty($_GPC['bae_delete_install'])) { unlink(IA_ROOT . '/data/install.lock'); } message('操作成功!', url('system/common'), 'success'); } if(checksubmit('authmodesubmit')) { $authmode = intval($_GPC['authmode']); setting_save($authmode, 'authmode'); message('更新设置成功!', url('system/common')); } template('system/common');