. */ use Alledia\Framework\AutoLoader; use Joomla\CMS\Factory; // phpcs:disable PSR1.Files.SideEffects defined('_JEXEC') or die(); if (defined('ALLEDIA_FRAMEWORK_LOADED') == false) { $frameworkPath = JPATH_SITE . '/libraries/allediaframework/include.php'; if ( (is_file($frameworkPath) && include $frameworkPath) == false && Factory::getApplication()->isClient('administrator') ) { Factory::getApplication() ->enqueueMessage('[Joomlashack Extension Support] Joomlashack Framework not found', 'error'); } } if ( defined('ALLEDIA_FRAMEWORK_LOADED') && defined('SHACKEXTENSIONSUPPORT_LOADED') == false ) { AutoLoader::register('\\Alledia\\OSMyLicensesManager', JPATH_PLUGINS . '/system/osmylicensesmanager/library'); define('SHACKEXTENSIONSUPPORT_LOADED', 1); } return defined('ALLEDIA_FRAMEWORK_LOADED') && defined('SHACKEXTENSIONSUPPORT_LOADED');