Refactoring of the compiler continues.

This commit is contained in:
Llewellyn van der Merwe 2016-03-01 21:02:04 +02:00
parent 36d45f2ff6
commit 3efbb7b4af
6 changed files with 4 additions and 4 deletions

View File

@ -39,10 +39,10 @@ abstract class ComponentbuilderHelper
public static function autoLoader() public static function autoLoader()
{ {
// load the compiler classes // load the compiler classes
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/get.php'; foreach (glob(JPATH_ADMINISTRATOR."/components/com_componentbuilder/helpers/compiler/*.php") as $compilerFile)
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/structure.php'; {
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/interpretation.php'; require_once $compilerFile;
require_once JPATH_ADMINISTRATOR.'/components/com_componentbuilder/helpers/infusion.php'; }
// import the Joomla librarys // import the Joomla librarys
jimport('joomla.filesystem.file'); jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder'); jimport('joomla.filesystem.folder');