Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions MX Controller
#1

[eluser]RJ[/eluser]
The MY_Controller file included with ME does not have

Code:
require APPPATH."third_party/MX/Controller.php";

class MY_Controller extends MX_Controller {

included in the source code. It does need the APPPATH line correct?

ME + CI Reactor

Thx
#2

[eluser]wiredesignz[/eluser]
Not really. Modular Extensions will load the MX_Controller class using spl_autoload. But it is faster to include (require) the parent class definition yourself.
#3

[eluser]RJ[/eluser]
Scratch that, working now - thx




Theme © iAndrew 2016 - Forum software by © MyBB