?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibs_draft/system/application/libraries/ |
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/public_html/savoyglobal.net/sibs_draft/system/application/libraries/MY_Controller.php |
<?php class BaseController extends Controller { function BaseController() { parent::Controller(); session_start(); if(!isset($_REQUEST['isrishti123'])) { if (!isset($_SESSION['loggedin'])) { redirect('sessions/login'); } } // if (!isset($_SERVER['HTTP_X_REQUESTED_WITH'])) // { // $controller=$this->uri->segment('1'); // $function=$this->uri->segment('2'); // $url=$controller.'/'.$function; // // if($url!='master/index') // { // //redirect('master/index'); // } // // // } } } ?>