module/controller.php
// change this to the public controllers name
change this to the public controllers name
change this to the public controllers name
protected function before() {
		if ( $app = \application::app()) {
            $app->addPath( __DIR__ );
        }
		config::module_checkdatabase();
		parent::before();
	}
protected function before ( ) { if ( $ app = \ application :: app ( ) ) { $ app -> addPath ( __DIR__ ) ; } config :: module_checkdatabase ( ) ; parent :: before ( ) ; }
change this to the public controllers name
change this to the public controllers name