Update AdminController.php

This commit is contained in:
themohooks 2025-05-25 15:05:42 +03:00
parent bc4b47e98a
commit 5c086b7e93

View file

@ -1,4 +1,5 @@
<?php <?php
namespace App\Controllers; namespace App\Controllers;
use \App\Services\{Router, Auth, DB, Json}; use \App\Services\{Router, Auth, DB, Json};
@ -32,12 +33,11 @@ class AdminController
} }
public static function index() public static function index()
{ {
Page::set('Admin/Index'); Page::set('Admin/Index');
} }
public static function loadContent() { public static function loadContent()
{
$fileName = $_GET['type']; $fileName = $_GET['type'];
@ -48,7 +48,5 @@ class AdminController
} else { } else {
Page::set('Admin/General'); Page::set('Admin/General');
} }
} }
} }