This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautoload.php
33 lines (27 loc) · 1.83 KB
/
autoload.php
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
29
30
31
32
33
<?php
/**
* Joomlatools Platform - http://developer.joomlatools.org/platform
*
* @copyright Copyright (C) 2015 Johan Janssens and Timble CVBA. (http://www.timble.net)
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
* @link /~https://github.com/joomlatools/joomlatools-platform for the canonical source repository
*/
if (!defined('JOOMLATOOLS_PLATFORM')) {
return;
}
JLoader::register('JCategories' , JPATH_ADMINISTRATOR . '/components/com_categories/libraries/categories.php');
JLoader::register('JCategoryNode' , JPATH_ADMINISTRATOR . '/components/com_categories/libraries/categories.php');
JLoader::register('CategoriesTableCategories' , JPATH_ADMINISTRATOR . '/components/com_categories/tables/categories.php');
if(JPATH_BASE == JPATH_SITE)
{
JLoader::register('CategoriesViewCategory' , JPATH_SITE . '/components/com_categories/views/category/view.html.php');
JLoader::register('CategoriesViewCategories' , JPATH_SITE . '/components/com_categories/views/categories/view.html.php');
JLoader::register('CategoriesViewCategoryfeed', JPATH_SITE . '/components/com_categories/views/category/view.feed.php');
}
JLoader::register('JFormFieldCategoryEdit' , JPATH_ADMINISTRATOR . '/components/com_categories/models/fields/categoryedit.php');
JLoader::register('JFormFieldCategoryParent', JPATH_ADMINISTRATOR . '/components/com_categories/models/fields/categoryparent.php');
JLoader::register('JFormFieldCategory' , JPATH_ADMINISTRATOR . '/components/com_categories/models/fields/category.php');
JLoader::registerAlias('JTableCategory' , 'CategoriesTableCategories');
JLoader::registerAlias('JViewCategories' , 'CategoriesViewCategories');
JLoader::registerAlias('JViewCategoryfeed', 'CategoriesViewCategoryfeed');
JHtml::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_categories/helpers/html');