Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

73 lines (61 sloc) 1.353 kB
<?php
/**
* @version $Id$
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/
// Set flag that this is a parent file
define('_JEXEC', 1);
define('JPATH_BASE', dirname(__FILE__));
define('DS', DIRECTORY_SEPARATOR);
try {
require_once JPATH_BASE .DS.'includes'.DS.'defines.php';
require_once JPATH_BASE .DS.'includes'.DS.'framework.php';
JDEBUG ? $_PROFILER->mark('afterLoad') : null;
/**
* CREATE THE APPLICATION
*
* NOTE :
*/
$mainframe =& JFactory::getApplication('site');
/**
* INITIALISE THE APPLICATION
*
* NOTE :
*/
$mainframe->initialise();
// profiling
JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
/**
* ROUTE THE APPLICATION
*
* NOTE :
*/
$mainframe->route();
// profiling
JDEBUG ? $_PROFILER->mark('afterRoute') : null;
/**
* DISPATCH THE APPLICATION
*
* NOTE :
*/
$mainframe->dispatch();
// Profiling
JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
/**
* RENDER THE APPLICATION
*
* NOTE :
*/
$mainframe->render();
// Profiling
JDEBUG ? $_PROFILER->mark('afterRender') : null;
/**
* RETURN THE RESPONSE
*/
echo JResponse::toString($mainframe->getCfg('gzip'));
} catch (JException $e) {
$e->set('level', E_ERROR);
JError::throwError($e);
}
Jump to Line
Something went wrong with that request. Please try again.