Current Path :
/
home
/
develito
/
httpdocs
/
tmp
/
install_60a8ee501926e
/
Site
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//home/develito/httpdocs/tmp/install_60a8ee501926e/Site/sobipro.php
<?php /** * @package: SobiPro Component for Joomla! * * @author * Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH * Email: sobi[at]sigsiu.net * Url: https://www.Sigsiu.NET * * @copyright Copyright (C) 2006 - 2018 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved. * @license GNU/GPL Version 3 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 * as published by the Free Software Foundation, and under the additional terms according section 7 of GPL v3. * See http://www.gnu.org/licenses/gpl.html and https://www.sigsiu.net/licenses. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ use Sobi\Input\Input; define( 'SOBI_TESTS', false ); defined( '_JEXEC' ) || exit( 'Restricted access' ); defined( 'DS' ) || define( 'DS', DIRECTORY_SEPARATOR ); define( 'SOBI_CMS', version_compare( JVERSION, '3.0.0', 'ge' ) ? 'joomla3' : 'joomla16' ); define( 'SOBIPRO', true ); define( 'SOBI_TASK', 'task' ); define( 'SOBI_DEFLANG', JComponentHelper::getParams( 'com_languages' )->get( 'site', 'en-GB' ) ); define( 'SOBI_ACL', 'front' ); define( 'SOBI_ROOT', JPATH_ROOT ); define( 'SOBI_MEDIA', implode( '/', [ JPATH_ROOT, 'media', 'sobipro' ] ) ); define( 'SOBI_MEDIA_LIVE', JURI::root() . 'media/sobipro' ); define( 'SOBI_PATH', SOBI_ROOT . '/components/com_sobipro' ); define( 'SOBI_LIVE_PATH', 'components/com_sobipro' ); require_once( SOBI_PATH . '/lib/base/fs/loader.php' ); SPLoader::loadController( 'interface' ); SPLoader::loadClass( 'base.filter' ); SPLoader::loadClass( 'base.request' ); // Try to catch direct file calls. Like /directory/piwik.php if ( preg_match( '/\.php$/', Input::Task() ) || strlen( Input::Task() ) > 50 ) { throw new Exception( 'Page Not Found! (invalid task and/or url specified)', 404 ); } $class = SPLoader::loadController( 'sobipro' ); $sobi = new $class( Input::Task() ); $sobi->execute();