setReadOnly(); if (key_exists('from', $_REQUEST) && is_numeric($_REQUEST['from'])) { $from = (int) $_REQUEST['from']; if ($from < 0) { $from = 0; } } else { $from = 0; } $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', 'errpath', 'trace', 'webuser' ], [ 'ORDER' => ['id' => 'DESC'], 'LIMIT' => [$from, 100] ]); ?> 에러 로그
-
+100