14 lines
261 B
PHP
14 lines
261 B
PHP
|
<?php
|
||
|
class BannedController extends ApplicationController
|
||
|
{
|
||
|
public function index()
|
||
|
{
|
||
|
$this->layout('bare');
|
||
|
|
||
|
$this->ban = $this->get_ip_ban();
|
||
|
if (!$this->ban) {
|
||
|
$this->redirectTo('root');
|
||
|
}
|
||
|
}
|
||
|
}
|