servermgrv2 init...
This commit is contained in:
parent
b881e4bce3
commit
7887c8f361
@ -2,12 +2,11 @@
|
||||
|
||||
namespace App\Controllers\Admin;
|
||||
|
||||
use App\Controllers\BaseController;
|
||||
use CodeIgniter\HTTP\RequestInterface;
|
||||
use CodeIgniter\HTTP\ResponseInterface;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class Home extends BaseController
|
||||
class Home extends AdminController
|
||||
{
|
||||
protected $_viewDatas = array();
|
||||
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
|
||||
@ -19,4 +18,8 @@ class Home extends BaseController
|
||||
'title' => '관리자페이지',
|
||||
];
|
||||
}
|
||||
public function index()
|
||||
{
|
||||
return view($this->_viewPath . '/welcome_message', $this->_viewDatas);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?= $this->extend('layouts/admin') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<?= $this->include('templates/admin/header'); ?>
|
||||
<!-- Body Content QuickInfo Start -->
|
||||
<div class="row">
|
||||
<!-- Body Content QuickInfo 쪽지 Start -->
|
||||
@ -86,4 +87,5 @@
|
||||
<!-- Body Content QuickInfo 금일지군 미납서버 End -->
|
||||
</div>
|
||||
<!-- Body Content QuickInfo End -->
|
||||
<?= $this->include('templates/admin/footer'); ?>
|
||||
<?= $this->endSection() ?>
|
||||
Loading…
Reference in New Issue
Block a user