get ready for Pretty URL

This commit is contained in:
iBNu Maksum
2025-01-31 16:54:22 +07:00
parent d60b1827d9
commit 31dda69d3d
14 changed files with 102 additions and 79 deletions

View File

@ -173,6 +173,7 @@ switch ($action) {
_alert(Lang::T('You do not have permission to access this page'), 'danger', "dashboard");
}
$csrf_token = _post('csrf_token');
if (!Csrf::check($csrf_token)) {
r2(getUrl('settings/app'), 'e', Lang::T('Invalid or Expired CSRF Token') . ".");
}