{
    public function index()
    {
        $this->redirect(CONTROLLER_NAME . '_index');
    }
    public function _initialize()
    {
        if (!isset($_SESSION[C('USER_AUTH_KEY')])) {
            $this->redirect('Admin/Index/index');
Beispiel #2
0
{
    public function index()
    {
        $this->redirect(CONTROLLER_NAME . '_index');
    }
    public function _initialize()
    {
        if (!isset($_SESSION[C('USER_AUTH_KEY')])) {
            $this->redirect('Material/Index/index');