Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
#19: Make sure to check JOOMLATOOLS_PLATFORM is define in the autoloa…
Browse files Browse the repository at this point in the history
…d file.
  • Loading branch information
allanpilarca committed Mar 16, 2017
1 parent dcec087 commit 299533f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* @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('CategoriesTableCategories' , JPATH_ADMINISTRATOR . '/components/com_categories/tables/categories.php');

Expand Down

0 comments on commit 299533f

Please sign in to comment.