setReadOnly(); $allowUpdate = false; foreach($session->acl as $eachAcl){ if(in_array('fullUpdate', $eachAcl)){ $allowUpdate = true; break; } if(in_array('update', $eachAcl)){ $allowUpdate = true; break; } } $allowUpdate |= $session->userGrade >= 5; if(!$allowUpdate){ header('Location:./'); } $fdb = FileDB::db(ROOT.'/d_log/err_log.sqlite3', ROOT.'/f_install/sql/err_log.sql'); $err_logs = $fdb->select('err_log', [ 'date', 'err', 'errstr', 'trace' ], [ 'ORDER'=>['id'=>'DESC'], 'LIMIT'=>100 ]); ?> 에러 로그
-