?
Current Path : /home1/savoy/www/oscarerp.com/application/core/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/oscarerp.com/application/core/MY_Controller.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php class MY_Controller extends CI_Controller { function MY_Controller() { parent::__construct(); if(!session_id()) session_start(); if(!isset($_SESSION['loggedin'])) { $_SESSION['loggedin']='true'; // $_SESSION['user_id']="1"; redirect('sessions/login'); } } } ?>