This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/controllers/BannedController.php

14 lines
264 B
PHP
Raw Normal View History

2013-10-27 01:06:58 +02:00
<?php
class BannedController extends ApplicationController
{
public function index()
{
2014-02-20 21:44:20 +01:00
$this->setLayout('bare');
2013-10-27 01:06:58 +02:00
$this->ban = $this->get_ip_ban();
if (!$this->ban) {
$this->redirectTo('root');
}
}
}