- md5
- b46ab9344b4c99a1608ece3647fb8ee8
- sha1
- 32ff6368f2f9d437d37105500639c9b3ab9b148f
- sha256
- ae4e56f036fb1418268eb4a6c6443b2a4a54c59618a3ec9c5f0278d14ca25f06
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
<?php
/**
* @version $Id: framework.php 21171 2011-04-18 21:50:18Z dextercowley $
* @package Joomla.Administrator
* @subpackage Application
* @copyright Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// No direct access.
defined('_JEXEC') or die;
/*
* Joomla! system checks.
*/
@ini_set('magic_quotes_runtime', 0);
@ini_set('zend.ze1_compatibility_mode', '0');
/*
* Installation check, and check on removal of the install directory.
*/
if (!file_exists(JPATH_CONFIGURATION.'/configuration.php') || (filesize(JPATH_CONFIGURATION.'/configuration.php') < 10) || file_exists(JPATH_INSTALLATION.'/index.php')) { header('Location: ../installation/index.php');
exit();
}
/*
* Joomla! system startup
*/
// System includes.
require_once JPATH_LIBRARIES.'/joomla/import.php';
// Pre-Load configuration.
require_once JPATH_CONFIGURATION.'/configuration.php';
// System configuration.
$CONFIG = new JConfig();
if (@$CONFIG->error_reporting === 0) {
error_reporting(0);
} else if (@$CONFIG->error_reporting > 0) {
error_reporting($CONFIG->error_reporting);
ini_set('display_errors', 1);
}
define('JDEBUG', $CONFIG->debug);
unset($CONFIG);
/*
* Joomla! framework loading.
*/
// System profiler.
if (JDEBUG) {
jimport('joomla.error.profiler');
$_PROFILER = JProfiler::getInstance('Application');
}
// Joomla! library imports.
jimport('joomla.application.menu');
jimport('joomla.user.user');
jimport('joomla.environment.uri');
jimport('joomla.html.html');
jimport('joomla.html.parameter');
jimport('joomla.utilities.utility');
jimport('joomla.event.event');
jimport('joomla.event.dispatcher');
jimport('joomla.language.language');
jimport('joomla.utilities.string');
The same content is in 4 releases, Joomla 1.6.3 to 1.6.6. See them all, or every version of this file.