Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
I
IPok_Web
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • IPok
  • IPok_Web
  • Repository

Switch branch/tag
  • IPok_Web
  • admin
  • application
  • controllers
  • Error.php
Find file
BlameHistoryPermalink
  • Jithin's avatar
    Sprint 2 · 664e0135
    Jithin authored 7 years ago
    664e0135
Error.php 500 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?php 
class Error extends CI_Controller 
{
    public function __construct() 
    {
        parent::__construct(); 
        
        if(!$this->session->userdata('logged_in')) { 
			redirect(base_url());
		}
    } 

    public function index() 
    { 
        $template['page'] = "error_404";
        $template['page_title'] = "You can't access";

        
        $this->load->view('error_404');
    } 
    /* public function my404() 
    { 

        $this->load->view('error_500');
    } */
} 
?> 
×

Replace Error.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.