? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/plugins/system/jsntplframework/includes/core/
File Upload :
Current File : /home/admin/public_html/old/plugins/system/jsntplframework/includes/core/jsntplframework.php

<?php
/**
 * @version     $Id$
 * @package     JSNExtension
 * @subpackage  TPLFramework
 * @author      JoomlaShine Team <support@joomlashine.com>
 * @copyright   Copyright (C) 2012 JoomlaShine.com. All Rights Reserved.
 * @license     GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.joomlashine.com
 * Technical Support:  Feedback - http://www.joomlashine.com/contact-us/get-support.html
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted access');

/**
 *
 * JSNTPLFramework class
 *
 */

class JSNTPLFramework
{
	/**
	 * initialize
	 */

	public static function initial()
	{
		$app = JFactory::getApplication();

		if ($app->isSite())
		{
			$jsnUtils   			= JSNTplUtils::getInstance();
			$isInstalledSh404Sef 	= $jsnUtils->checkSH404SEF();
			
			if ($jsnUtils->isJoomla3())
			{
				// JViewLegacy
				JLoader::register('JViewLegacy', JSN_PATH_TPLFRAMEWORK . '/includes/core/j3x/jsntplviewlegacy.php');

				// JModuleHelper
				JLoader::register ('JModuleHelper', JSN_PATH_TPLFRAMEWORK . '/includes/core/j3x/jsntplmodulehelper.php');

				//Check if SH404Sef is installed or not. If yes, then do not load jsntplpagination.php
				if (!$isInstalledSh404Sef)
				{	
					// JPagination
					JLoader::register('JPagination', JSN_PATH_TPLFRAMEWORK . '/includes/core/j3x/jsntplpagination.php');
				}
			}
			else
			{
				// JView
				jimport('joomla.application.component.view');
				JLoader::register('JView', JSN_PATH_TPLFRAMEWORK . '/includes/core/j25/jsntplview.php');

				// JModuleHelper
				jimport('joomla.application.module.helper');
				JLoader::register('JModuleHelper', JSN_PATH_TPLFRAMEWORK . '/includes/core/j25/jsntplmodulehelper.php');
				
				//Check if SH404Sef is installed or not. If yes, then do not load jsntplpagination.php
				if (!$isInstalledSh404Sef)
				{
					// JPagination
					jimport('joomla.html.pagination');
					JLoader::register('JPagination', JSN_PATH_TPLFRAMEWORK . '/includes/core/j25/jsntplpagination.php');
				}
			}
		}
	}
}

T1KUS90T
  root-grov@210.1.60.28:~$