Ejemplo n.º 1
0
<?php

/*------------------------------------------------------------------------
# SP Polls - Ajax Poll Component by JoomShaper.com
# ------------------------------------------------------------------------
# author    JoomShaper http://www.joomshaper.com
# Copyright (C) 2010 - 2016 JoomShaper.com. All Rights Reserved.
# License - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.joomshaper.com
-------------------------------------------------------------------------*/
defined('_JEXEC') or die('resticted aceess');
// Load FOF
include_once JPATH_LIBRARIES . '/fof/include.php';
if (!defined('FOF_INCLUDED')) {
    JFactory::getApplication()->enqueueMessage('FOF is not installed', '500');
}
FOFDispatcher::getTmpInstance('com_sppolls')->dispatch();
Ejemplo n.º 2
0
/**
 * @package AkeebaBackup
 * @copyright Copyright (c)2009-2013 Nicholas K. Dionysopoulos
 * @license GNU General Public License version 3, or later
 *
 * @since 1.3
 */
// Protect from unauthorized access
defined('_JEXEC') or die;
JDEBUG ? define('AKEEBADEBUG', 1) : null;
// Check for PHP4
if (defined('PHP_VERSION')) {
    $version = PHP_VERSION;
} elseif (function_exists('phpversion')) {
    $version = phpversion();
} else {
    // No version info. I'll lie and hope for the best.
    $version = '5.0.0';
}
// Old PHP version detected. EJECT! EJECT! EJECT!
if (!version_compare($version, '5.3.0', '>=')) {
    return JError::raise(E_ERROR, 500, 'This version of PHP is not compatible with Akeeba Backup');
}
JLoader::import('joomla.application.component.model');
// Load FOF
include_once JPATH_SITE . '/libraries/fof/include.php';
if (!defined('FOF_INCLUDED') || !class_exists('FOFForm', true)) {
    JError::raiseError('500', 'Your Akeeba Backup installation is broken; please re-install. Alternatively, extract the installation archive and copy the fof directory inside your site\'s libraries directory.');
}
FOFDispatcher::getTmpInstance('com_akeeba')->dispatch();
Ejemplo n.º 3
0
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_postinstall
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */
defined('_JEXEC') or die;
// Load the RAD layer
if (!defined('FOF_INCLUDED')) {
    require_once JPATH_LIBRARIES . '/fof/include.php';
}
// Dispatch the component
FOFDispatcher::getTmpInstance('com_postinstall')->dispatch();
Ejemplo n.º 4
0
// Access check.
$user = JFactory::getUser();
$comp = 'com_babioonevent';
// START: Akeeba Live Update
$view = JFactory::getApplication()->input->get('view', 'cpanels');
// Load files if needed
if ($view == 'liveupdate' || $view == 'cpanels') {
    if (file_exists(JPATH_COMPONENT . '/liveupdate/liveupdate.php')) {
        require_once JPATH_COMPONENT . '/liveupdate/liveupdate.php';
    } else {
        return JError::raiseWarning(404, JText::_(strtoupper($comp) . '_COULD_NOT_LOAD_LIVEUPDATE_FILES'));
    }
}
if ($view == 'liveupdate') {
    if (JFactory::getUser()->authorise('core.admin', $comp)) {
        LiveUpdate::handleRequest();
        return;
    } else {
        return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
    }
}
// END: Akeeba Live Update
$doc = JFactory::getDocument();
if (BabioonEventHelper::isVersion3()) {
    // Add css
    $doc->addStyleSheet(JURI::base(true) . '/../media/babioon/css/3x.css');
} else {
    $doc->addStyleSheet(JURI::base(true) . '/../media/babioon/css/2x.css');
}
FOFDispatcher::getTmpInstance('com_babioonevent')->dispatch();
/** EOF **/
Ejemplo n.º 5
0
<?php

/**
 * @package     SP Simple Portfolio
 *
 * @copyright   Copyright (C) 2010 - 2014 JoomShaper. All rights reserved.
 * @license     GNU General Public License version 2 or later.
 */
defined('_JEXEC') or die;
$doc = JFactory::getDocument();
// Load FOF
include_once JPATH_LIBRARIES . '/fof/include.php';
if (!defined('FOF_INCLUDED')) {
    JError::raiseError('500', 'FOF is not installed');
    return;
}
FOFDispatcher::getTmpInstance('com_spsimpleportfolio')->dispatch();
Ejemplo n.º 6
0
<?php

/**
 * @package     db8 locate
 * @author	Peter Martin
 * @copyright   Copyright (C) 2014 Peter Martin / db8.nl
 * @license     GNU General Public License version 2 or later
 */
defined('_JEXEC') or die;
// Load FOF
require_once JPATH_LIBRARIES . '/fof/include.php';
// Quit if FOF is not installed
if (!defined('FOF_INCLUDED')) {
    JError::raiseError('500', 'FOF is not installed!');
    return;
}
FOFDispatcher::getTmpInstance('com_db8locate')->dispatch();
Ejemplo n.º 7
0
<?php

/**
* @version     1.0
* @package     Joomla
* @subpackage  com_redslider
* @author      redWEB Aps <*****@*****.**>
* @copyright   com_redslider (C) 2008 - 2012 redCOMPONENT.com
* @license     GNU/GPL, see LICENSE.php
* com_redslider can be downloaded from www.redcomponent.com
* com_redslider is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License 2
* as published by the Free Software Foundation.
* com_redslider 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.
* You should have received a copy of the GNU General Public License
* along with com_redslider; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
// No direct access
defined('_JEXEC') or die;
// Load FOF
include_once JPATH_LIBRARIES . '/fof/include.php';
// Check if FOF library installed or not
if (!defined('FOF_INCLUDED')) {
    JError::raiseError('500', 'FOF is not installed');
}
FOFDispatcher::getTmpInstance('com_redslider')->dispatch();
Ejemplo n.º 8
0
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  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.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

defined('_JEXEC') or die();

// Load FOF
if (file_exists(JPATH_LIBRARIES.'/fof/include.php')) {
	include_once JPATH_LIBRARIES.'/fof/include.php';
} else {
	include_once JPATH_COMPONENT_ADMINISTRATOR.'/fof/include.php';
}
if(!defined('FOF_INCLUDED')) {
	JFactory::getApplication()->enqueueMessage('Your Overload installation is broken; please re-install. Alternatively, extract the installation archive and copy the fof directory inside your site\'s libraries directory.', 'error');
	return false;
}

// Dispatch
FOFDispatcher::getTmpInstance('com_overload')->dispatch();