[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/installation/includes/ -> framework.php (source)

   1  <?php
   2  /**
   3  * @version        $Id: framework.php 14401 2010-01-26 14:10:00Z louis $
   4  * @package        Joomla
   5  * @subpackage    Installation
   6  * @copyright    Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
   7  * @license        GNU/GPL, see LICENSE.php
   8  * Joomla! is free software. This version may have been modified pursuant
   9  * to the GNU General Public License, and as distributed it includes or
  10  * is derivative of works licensed under the GNU General Public License or
  11  * other free or open source software licenses.
  12  * See COPYRIGHT.php for copyright notices and details.
  13  */
  14  
  15  // no direct access
  16  defined( '_JEXEC' ) or die( 'Restricted access' );
  17  
  18  /*
  19   * Joomla! system checks
  20   */
  21  
  22  error_reporting( E_ALL );
  23  @set_magic_quotes_runtime( 0 );
  24  @ini_set('zend.ze1_compatibility_mode', '0');
  25  
  26  /*
  27   *
  28   */
  29  if (file_exists( JPATH_CONFIGURATION . DS . 'configuration.php' ) && (filesize( JPATH_CONFIGURATION . DS . 'configuration.php' ) > 10) && !file_exists( JPATH_INSTALLATION . DS . 'index.php' )) {
  30      header( 'Location: ../index.php' );
  31      exit();
  32  }
  33  
  34  /*
  35   * Joomla! system startup
  36   */
  37  
  38  // System includes
  39  require_once( JPATH_LIBRARIES        .DS.'joomla'.DS.'import.php');
  40  
  41  // Installation file includes
  42  define( 'JPATH_INCLUDES', dirname(__FILE__) );
  43  
  44  /*
  45   * Joomla! framework loading
  46   */
  47  
  48  // Include object abstract class
  49  require_once (JPATH_SITE.DS.'libraries'.DS.'joomla'.DS.'utilities'.DS.'compat'.DS.'compat.php');
  50  
  51  // Joomla! library imports
  52  jimport( 'joomla.database.table' );
  53  jimport( 'joomla.user.user');
  54  jimport( 'joomla.environment.uri' );
  55  jimport( 'joomla.user.user');
  56  jimport( 'joomla.html.parameter' );
  57  jimport( 'joomla.utilities.utility' );
  58  jimport( 'joomla.language.language');
  59  jimport( 'joomla.utilities.string' );
  60  ?>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1