| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: index.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla 5 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 6 * @license GNU/GPL, see LICENSE.php 7 * Joomla! is free software. This version may have been modified pursuant 8 * to the GNU General Public License, and as distributed it includes or 9 * is derivative of works licensed under the GNU General Public License or 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 13 14 // Set flag that this is a parent file 15 define( '_JEXEC', 1 ); 16 17 define('JPATH_BASE', dirname(__FILE__) ); 18 19 define('DS', DIRECTORY_SEPARATOR); 20 21 require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); 22 require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); 23 require_once ( JPATH_BASE .DS.'includes'.DS.'helper.php' ); 24 require_once ( JPATH_BASE .DS.'includes'.DS.'toolbar.php' ); 25 26 JDEBUG ? $_PROFILER->mark( 'afterLoad' ) : null; 27 28 /** 29 * CREATE THE APPLICATION 30 * 31 * NOTE : 32 */ 33 $mainframe =& JFactory::getApplication('administrator'); 34 35 /** 36 * INITIALISE THE APPLICATION 37 * 38 * NOTE : 39 */ 40 $mainframe->initialise(array( 41 'language' => $mainframe->getUserState( "application.lang", 'lang' ) 42 )); 43 44 JPluginHelper::importPlugin('system'); 45 46 // trigger the onAfterInitialise events 47 JDEBUG ? $_PROFILER->mark('afterInitialise') : null; 48 $mainframe->triggerEvent('onAfterInitialise'); 49 50 /** 51 * ROUTE THE APPLICATION 52 * 53 * NOTE : 54 */ 55 $mainframe->route(); 56 57 // trigger the onAfterRoute events 58 JDEBUG ? $_PROFILER->mark('afterRoute') : null; 59 $mainframe->triggerEvent('onAfterRoute'); 60 61 /** 62 * DISPATCH THE APPLICATION 63 * 64 * NOTE : 65 */ 66 $option = JAdministratorHelper::findOption(); 67 $mainframe->dispatch($option); 68 69 // trigger the onAfterDispatch events 70 JDEBUG ? $_PROFILER->mark('afterDispatch') : null; 71 $mainframe->triggerEvent('onAfterDispatch'); 72 73 /** 74 * RENDER THE APPLICATION 75 * 76 * NOTE : 77 */ 78 $mainframe->render(); 79 80 // trigger the onAfterRender events 81 JDEBUG ? $_PROFILER->mark( 'afterRender' ) : null; 82 $mainframe->triggerEvent( 'onAfterRender' ); 83 84 /** 85 * RETURN THE RESPONSE 86 */ 87 echo JResponse::toString($mainframe->getCfg('gzip')); 88 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |