47 lines
1.0 KiB
PHP
47 lines
1.0 KiB
PHP
<?php defined('BASEPATH') or 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
|
|
*
|
|
*/
|
|
|
|
// load the MX_Router class
|
|
require APPPATH."third_party/MX/Router.php";
|
|
|
|
|
|
class MY_Router extends MX_Router
|
|
{
|
|
//
|
|
public $CI;
|
|
|
|
/**
|
|
* An array of variables to be passed through to the
|
|
* view, layout,....
|
|
*/
|
|
protected $data = array();
|
|
|
|
/**
|
|
* [__construct description]
|
|
*
|
|
* @method __construct
|
|
*/
|
|
public function __construct()
|
|
{
|
|
// To inherit directly the attributes of the parent class.
|
|
parent::__construct();
|
|
|
|
// This function returns the main CodeIgniter object.
|
|
// Normally, to call any of the available CodeIgniter object or pre defined library classes then you need to declare.
|
|
//$CI =& get_instance();
|
|
}
|
|
}
|