6
i am facing problem when i am going executing
the give example of HMVC in php model the error message is
:Only variable references should be returned by reference:
and here is code
application/Conroller/test.php
class Test extends Controller {
function Test()
{
parent::Controller();
}
function index()
{
$this->load->helper('modules');
modules::run('modtest',true,'test');
// Load Module Helper
//$this->load->library("modules");
// Loading modules in a Controller
//$this->modules->load('fighters');
}
}
?>
and here is application/Module/fighters.php
class fighters extends Modules
{
function fighters()
{
parent::Modules();
}
function test()
{
echo "test";
}
}
?>
plz help