This commit is contained in:
iBNu Maksum 2025-02-12 11:50:04 +07:00
parent 1ad1320779
commit 304de7a999
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 10 additions and 5 deletions

View File

@ -128,11 +128,15 @@ try {
unset($menus, $menu_registered); unset($menus, $menu_registered);
include($sys_render); include($sys_render);
} else { } else {
// header 404 if( empty($_SERVER["HTTP_SEC_FETCH_DEST"]) || $_SERVER["HTTP_SEC_FETCH_DEST"] != 'document' ){
header("HTTP/1.0 404 Not Found"); // header 404
header("Content-Type: text/html; charset=utf-8"); header("HTTP/1.0 404 Not Found");
echo "404 Not Found"; header("Content-Type: text/html; charset=utf-8");
die(); echo "404 Not Found";
die();
}else{
r2(getUrl('login'));
}
} }
} catch (Throwable $e) { } catch (Throwable $e) {
Message::sendTelegram( Message::sendTelegram(

View File

@ -1,5 +1,6 @@
{include file="sections/header.tpl"} {include file="sections/header.tpl"}
<img src="/asdsad/asdasd/asdasd">
<div class="row"> <div class="row">
{if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])} {if in_array($_admin['user_type'],['SuperAdmin','Admin', 'Report'])}
<div class="col-lg-3 col-xs-6"> <div class="col-lg-3 col-xs-6">