| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @package Joomla.Administrator 4 * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. 5 * @license GNU General Public License version 2 or later; see LICENSE.txt 6 */ 7 8 // Set flag that this is a parent file 9 define('_JEXEC', 1); 10 define('DS', DIRECTORY_SEPARATOR); 11 12 if (file_exists(dirname(__FILE__) . '/defines.php')) { 13 include_once dirname(__FILE__) . '/defines.php'; 14 } 15 16 if (!defined('_JDEFINES')) { 17 define('JPATH_BASE', dirname(__FILE__)); 18 require_once JPATH_BASE.'/includes/defines.php'; 19 } 20 21 require_once JPATH_BASE.'/includes/framework.php'; 22 require_once JPATH_BASE.'/includes/helper.php'; 23 require_once JPATH_BASE.'/includes/toolbar.php'; 24 25 // Mark afterLoad in the profiler. 26 JDEBUG ? $_PROFILER->mark('afterLoad') : null; 27 28 // Instantiate the application. 29 $app = JFactory::getApplication('administrator'); 30 31 // Initialise the application. 32 $app->initialise(array( 33 'language' => $app->getUserState('application.lang') 34 )); 35 36 // Mark afterIntialise in the profiler. 37 JDEBUG ? $_PROFILER->mark('afterInitialise') : null; 38 39 // Route the application. 40 $app->route(); 41 42 // Mark afterRoute in the profiler. 43 JDEBUG ? $_PROFILER->mark('afterRoute') : null; 44 45 // Dispatch the application. 46 $app->dispatch(); 47 48 // Mark afterDispatch in the profiler. 49 JDEBUG ? $_PROFILER->mark('afterDispatch') : null; 50 51 // Render the application. 52 $app->render(); 53 54 // Mark afterRender in the profiler. 55 JDEBUG ? $_PROFILER->mark('afterRender') : null; 56 57 // Return the response. 58 echo $app;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |