mirror of
https://github.com/claradex/nativegallery.git
synced 2025-06-06 14:26:58 +03:00
Update AdminController.php
This commit is contained in:
parent
bc4b47e98a
commit
5c086b7e93
1 changed files with 13 additions and 15 deletions
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue