-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdepencies.php
More file actions
28 lines (24 loc) · 1.78 KB
/
depencies.php
File metadata and controls
28 lines (24 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
* Takes care of registering all the needed classes in a lazy load approach to avoid overhead
*
* @author Stian Didriksen <stian@prothemer.com>
*/
defined('_JEXEC') or die('Restricted access');
JLoader::register('JFile', JPATH_LIBRARIES.'/joomla/filesystem/file.php');
JLoader::register('JFolder', JPATH_LIBRARIES.'/joomla/filesystem/folder.php');
JLoader::register('JPath', JPATH_LIBRARIES.'/joomla/filesystem/path.php');
JLoader::register('JArchive', JPATH_LIBRARIES.'/joomla/filesystem/archive.php');
JLoader::register('JController', JPATH_LIBRARIES.'/joomla/application/component/controller.php');
JLoader::register('JView', JPATH_LIBRARIES.'/joomla/application/component/view.php');
//JLoader::register('HTML_configurator_admin', JApplicationHelper::getPath('admin_html'));
JLoader::register('ComConfiguratorDefines', JPATH_ADMINISTRATOR.'/components/com_configurator/defines.php');
JLoader::register('ComConfiguratorHelperUtilities', JPATH_ADMINISTRATOR.'/components/com_configurator/helpers/utilities.php');
JLoader::register('ComConfiguratorHelperBrowser', JPATH_ADMINISTRATOR.'/components/com_configurator/helpers/browser.php');
JLoader::register('ComConfiguratorToolbarHtml', JPATH_ADMINISTRATOR.'/components/com_configurator/toolbar.configurator.html.php');
// Controllers
JLoader::register('ComConfiguratorControllerAbstract', JPATH_ADMINISTRATOR.'/components/com_configurator/controllers/abstract.php');
JLoader::register('ComConfiguratorControllerDispatch', JPATH_ADMINISTRATOR.'/components/com_configurator/controllers/dispatch.php');
JLoader::register('ComConfiguratorControllerDefault', JPATH_ADMINISTRATOR.'/components/com_configurator/controllers/default.php');
// Morph classes
JLoader::register('MBrowser', JPATH_ADMINISTRATOR.'/components/com_configurator/includes/browser.php');