Sequenzia/app/controllers/BannedController.php
2014-02-20 15:44:20 -05:00

14 lines
264 B
PHP
Executable File

<?php
class BannedController extends ApplicationController
{
public function index()
{
$this->setLayout('bare');
$this->ban = $this->get_ip_ban();
if (!$this->ban) {
$this->redirectTo('root');
}
}
}