diff --git a/src/com_tjvendors/site/includes/tjvendors.php b/src/com_tjvendors/site/includes/tjvendors.php index e6904794..87b340c5 100644 --- a/src/com_tjvendors/site/includes/tjvendors.php +++ b/src/com_tjvendors/site/includes/tjvendors.php @@ -8,7 +8,6 @@ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ -// No direct access defined('_JEXEC') or die; use Joomla\CMS\Factory; @@ -25,7 +24,7 @@ * * @since __DEPLOY_VERSION__ */ -class TJV +class TJVendors { /** * Holds the record of the loaded TJVendors classes @@ -168,12 +167,6 @@ public static function init($location = 'site') return; } - if (file_exists(JPATH_ROOT . '/media/techjoomla_strapper/tjstrapper.php')) - { - require_once JPATH_ROOT . '/media/techjoomla_strapper/tjstrapper.php'; - TjStrapper::loadTjAssets('com_tjvendors'); - } - $version = $versionClass->getMediaVersion(); $options = array("version" => $version); diff --git a/src/com_tjvendors/site/tjvendors.php b/src/com_tjvendors/site/tjvendors.php index 0ab4da20..e64a52d4 100755 --- a/src/com_tjvendors/site/tjvendors.php +++ b/src/com_tjvendors/site/tjvendors.php @@ -25,7 +25,7 @@ JLoader::load('TjvendorFrontHelper'); } -TJV::init(); +TJVendors::init(); // Execute the task. $controller = BaseController::getInstance('Tjvendors');