. */ 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'; $app = Factory::getApplication(); if ( (is_file($frameworkPath) && include $frameworkPath) == false && $app->isClient('administrator') ) { $app->enqueueMessage('[Joomlashack Extension Support] Joomlashack Framework not found', 'error'); } unset($app); } 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');