| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/newsite/plugins/system/t3/includes/depend/ |
Upload File : |
<?php
/**
*------------------------------------------------------------------------------
* @package T3 Framework for Joomla!
*------------------------------------------------------------------------------
* @copyright Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @authors JoomlArt, JoomlaBamboo, (contribute to this project at github
* & Google group to become co-author)
* @Google group: https://groups.google.com/forum/#!forum/t3fw
* @Link: http://t3-framework.org
*------------------------------------------------------------------------------
*/
if (!defined('_JEXEC')) {
// no direct access
define('_JEXEC', 1);
defined ( '_JEXEC' ) or die ( 'Restricted access' );
$path = dirname(dirname(dirname(dirname(__FILE__))));
define('JPATH_BASE', $path);
if (strpos(php_sapi_name(), 'cgi') !== false && !empty($_SERVER['REQUEST_URI'])) {
//Apache CGI
$_SERVER['PHP_SELF'] = rtrim(dirname(dirname(dirname($_SERVER['PHP_SELF']))), '/\\');
} else {
//Others
$_SERVER['SCRIPT_NAME'] = rtrim(dirname(dirname(dirname($_SERVER['SCRIPT_NAME']))), '/\\');
}
require_once (JPATH_BASE . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'defines.php');
require_once (JPATH_BASE . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'framework.php');
JDEBUG ? $_PROFILER->mark('afterLoad') : null;
/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$japp = JFactory::getApplication('administrator');
/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
$japp->initialise(array('language' => $japp->getUserState('application.lang', 'lang')));
}
$user = JFactory::getUser();
jimport('joomla.filesystem.folder');
jimport('joomla.filesystem.file');
if(!$user->authorise('core.manage', 'com_templates')){
die(json_encode(array(JText::_('NO_PERMISSION'))));
}
$helpcls = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'fileconfig.php';
if(file_exists($helpcls))
include_once $helpcls;
$task = isset($_REQUEST['dptask']) ? $_REQUEST['dptask'] : '';
if ($task != '' && method_exists('JAFileConfig', $task)) {
JAFileConfig::$task();
}