Joomla! PHP Cross Reference Web Portal Systems

Source: /administrator/index.php - 42 lines - 1132 bytes - Summary - Text - Print

   1  <?php
   2  /**
   3   * @package    Joomla.Administrator
   4   *
   5   * @copyright  Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
   6   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   7   */
   8  
   9  if (version_compare(PHP_VERSION, '5.3.10', '<'))
  10  {
  11      die('Your host needs to use PHP 5.3.10 or higher to run this version of Joomla!');
  12  }
  13  
  14  /**
  15   * Constant that is checked in included files to prevent direct access.
  16   * define() is used in the installation folder rather than "const" to not error for PHP 5.2 and lower
  17   */
  18  define('_JEXEC', 1);
  19  
  20  if (file_exists(__DIR__ . '/defines.php'))
  21  {
  22      include_once  __DIR__ . '/defines.php';
  23  }
  24  
  25  if (!defined('_JDEFINES'))
  26  {
  27      define('JPATH_BASE', __DIR__);
  28      require_once  JPATH_BASE . '/includes/defines.php';
  29  }
  30  
  31  require_once  JPATH_BASE . '/includes/framework.php';
  32  require_once  JPATH_BASE . '/includes/helper.php';
  33  require_once  JPATH_BASE . '/includes/toolbar.php';
  34  
  35  // Mark afterLoad in the profiler.
  36  JDEBUG ? $_PROFILER->mark('afterLoad') : null;
  37  
  38  // Instantiate the application.
  39  $app = JFactory::getApplication('administrator');
  40  
  41  // Execute the application.
  42  $app->execute();

title

Description

title

Description

title

Description

title

title

Body