Skip to content
Newer
Older
100644 56 lines (40 sloc) 1.32 KB
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
1 <?php
2 /**
7e4ee8d Updated SVN properties.
Rob Schley authored May 27, 2009
3 * @version $Id$
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
4 * @package Joomla.Site
f53061c @ianmacl # Updating Copyright Year
ianmacl authored Jan 9, 2011
5 * @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
de4a567 Moved LICENSE.php out of the installation folder and renamed to LICEN…
Rob Schley authored Jun 1, 2009
6 * @license GNU General Public License version 2 or later; see LICENSE.txt
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
7 */
8
51b8728 git-svn-id: http://joomlacode.org/svn/joomla/development/trunk@11899
Rob Schley authored May 28, 2009
9 // Set flag that this is a parent file.
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
10 define('_JEXEC', 1);
11 define('DS', DIRECTORY_SEPARATOR);
12
792d0d6 @dextercowley [#23377] Version information disclosure in joomla.xml
dextercowley authored Dec 13, 2010
13 if (file_exists(dirname(__FILE__) . '/defines.php')) {
14 include_once dirname(__FILE__) . '/defines.php';
15 }
16
17 if (!defined('_JDEFINES')) {
18 define('JPATH_BASE', dirname(__FILE__));
19 require_once JPATH_BASE.DS.'includes'.DS.'defines.php';
20 }
21
d09c653 @ianmacl # [!21949] Reverted systematic elimination of DS as directory separator
ianmacl authored Aug 26, 2010
22 require_once JPATH_BASE.DS.'includes'.DS.'framework.php';
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
23
24 // Mark afterLoad in the profiler.
25 JDEBUG ? $_PROFILER->mark('afterLoad') : null;
26
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
27 // Instantiate the application.
38c5d38 @eddieajau Fixed issue [#20907] Making Joomla more compliant to PHP strict standard
eddieajau authored Jun 23, 2010
28 $app = JFactory::getApplication('site');
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
29
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
30 // Initialise the application.
46f482f @eddieajau Refactored instances of global $mainframe.
eddieajau authored Jul 6, 2009
31 $app->initialise();
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
32
33 // Mark afterIntialise in the profiler.
34 JDEBUG ? $_PROFILER->mark('afterInitialise') : null;
35
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
36 // Route the application.
46f482f @eddieajau Refactored instances of global $mainframe.
eddieajau authored Jul 6, 2009
37 $app->route();
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
38
39 // Mark afterRoute in the profiler.
40 JDEBUG ? $_PROFILER->mark('afterRoute') : null;
41
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
42 // Dispatch the application.
46f482f @eddieajau Refactored instances of global $mainframe.
eddieajau authored Jul 6, 2009
43 $app->dispatch();
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
44
45 // Mark afterDispatch in the profiler.
46 JDEBUG ? $_PROFILER->mark('afterDispatch') : null;
47
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
48 // Render the application.
46f482f @eddieajau Refactored instances of global $mainframe.
eddieajau authored Jul 6, 2009
49 $app->render();
83939b8 Imported the new trunk.
Rob Schley authored May 27, 2009
50
51 // Mark afterRender in the profiler.
52 JDEBUG ? $_PROFILER->mark('afterRender') : null;
53
7e5a2eb @ercanozkaya Removed global variables from entry points
ercanozkaya authored Oct 3, 2009
54 // Return the response.
792d0d6 @dextercowley [#23377] Version information disclosure in joomla.xml
dextercowley authored Dec 13, 2010
55 echo $app;
Something went wrong with that request. Please try again.