38 lines
824 B
PHP
38 lines
824 B
PHP
<?php
|
|
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
/**
|
|
* AMS
|
|
*
|
|
* @package HMVC
|
|
* @author Venba
|
|
* @copyright 2022 Venba
|
|
* @license https://venbainfotech.com/licenses/MIT MIT License
|
|
* @link <URI> (description)
|
|
* @version GIT: $Id$
|
|
* @since Version 0.0.1
|
|
* @filesource
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* Class Admin_Controller
|
|
*/
|
|
class Admin_Controller extends MY_Controller
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
echo $copyright_from_mycontroller;die();
|
|
if(!$this->session->userdata('logged_in') == TRUE)
|
|
{
|
|
redirect('auth');
|
|
}
|
|
|
|
// $this->global_data['org_details'] = array('business_name' => 'XYZ');
|
|
// $this->layout->set('global_data',$this->global_data);
|
|
|
|
}
|
|
}
|