protected function includes()
    {
        $moduleInclude = (array) $this->def('include');
        $globalInclude = $this->app['config']->get('module::include');
        $specificInclude = array($this->name.'.php');
        $include = array_merge($moduleInclude, $specificInclude, $globalInclude);
        foreach ($include as $file)
		{
			$path = $this->path.'/'.$file;
			if ($this->app['files']->exists($path)) require $path;
		}
    }
protected function includes()
    {
        $moduleInclude = (array) $this->def('include');
        $globalInclude = $this->app['config']->get('module::include');
        $specificInclude = array($this->name.'.php');
        $include = array_merge($moduleInclude, $specificInclude, $globalInclude);
        foreach ($include as $file)
		{
			$path = $this->path.'/'.$file;
			if ($this->app['files']->exists($path)) require $path;
		}
    }
protected function includes ( ) { $ moduleInclude = ( array ) $ this -> def ( 'include' ) ; $ globalInclude = $ this -> app [ 'config' ] -> get ( 'module::include' ) ; $ specificInclude = array ( $ this -> name . '.php' ) ; $ include = array_merge ( $ moduleInclude , $ specificInclude , $ globalInclude ) ; foreach ( $ include as $ file ) { $ path = $ this -> path . '/' . $ file ; if ( $ this -> app [ 'files' ] -> exists ( $ path ) ) require $ path ; } }
Include some files determined in config.php of CheeModule and module.json of modules
Include some files determined in config . php of CheeModule and module . json of modules