Changed to proper layout setter.
This commit is contained in:
parent
1a46f1a56a
commit
5a5973ff09
@ -3,7 +3,7 @@ class AdminController extends ApplicationController
|
||||
{
|
||||
protected function init()
|
||||
{
|
||||
$this->layout('admin');
|
||||
$this->setLayout('admin');
|
||||
}
|
||||
|
||||
protected function filters()
|
||||
|
@ -3,7 +3,7 @@ class BannedController extends ApplicationController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$this->layout('bare');
|
||||
$this->setLayout('bare');
|
||||
|
||||
$this->ban = $this->get_ip_ban();
|
||||
if (!$this->ban) {
|
||||
|
Reference in New Issue
Block a user