remove index.php

This commit is contained in:
iBNu Maksum
2024-11-04 13:57:28 +07:00
parent 1903dc6b45
commit 32a64d944a
13 changed files with 31 additions and 15 deletions

View File

@ -80,6 +80,9 @@ if ($handler == '') {
$handler = 'default';
}
try {
if(!empty($_GET['uid'])){
$_COOKIE['uid'] = $_GET['token'];
}
$admin = Admin::_info();
$sys_render = $root_path . File::pathFixer('system/controllers/' . $handler . '.php');
if (file_exists($sys_render)) {