Project

General

Profile

Bug #16136 » 0006056_41.patch

Administrator Admin, 2007-08-01 12:45

View differences:

t3lib/config_default.php (Arbeitskopie)
// Include localconf.php. Use this file to configure TYPO3 for your needs and database
if (!@is_file(PATH_typo3conf.'localconf.php')) die('localconf.php is not found!');
require(PATH_typo3conf.'localconf.php');
require_once(PATH_typo3conf.'localconf.php');
// Defining the database setup as constants
define('TYPO3_db', $typo_db);
......
if (TYPO3_MODE=='FE' && is_object($TT)) $TT->push('Loading localconf.php extensions','');
$TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
require(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
require_once(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
} else {
$temp_TYPO3_LOADED_EXT = $TYPO3_LOADED_EXT;
reset($temp_TYPO3_LOADED_EXT);
while(list($_EXTKEY,$temp_lEDat)=each($temp_TYPO3_LOADED_EXT)) {
if (is_array($temp_lEDat) && $temp_lEDat['ext_localconf.php']) {
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
require($temp_lEDat['ext_localconf.php']);
require_once($temp_lEDat['ext_localconf.php']);
}
}
}
t3lib/stddb/load_ext_tables.php (Arbeitskopie)
while(list($_EXTKEY,$temp_lEDat)=each($temp_TYPO3_LOADED_EXT)) {
if (is_array($temp_lEDat) && $temp_lEDat['ext_tables.php']) {
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
require($temp_lEDat['ext_tables.php']);
require_once($temp_lEDat['ext_tables.php']);
}
}
?>
t3lib/thumbs.php (Arbeitskopie)
require_once(PATH_t3lib.'class.t3lib_div.php');
require_once(PATH_t3lib.'class.t3lib_extmgm.php');
require(PATH_t3lib.'config_default.php');
require_once(PATH_t3lib.'config_default.php');
if (!defined ('TYPO3_db')) die ('The configuration file was not included.');
if (!$TYPO3_CONF_VARS['GFX']['image_processing']) die ('ImageProcessing was disabled!');
typo3/alt_doc_ajax.php (Arbeitskopie)
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml');
require_once (PATH_t3lib.'class.t3lib_tceforms.php');
// @TODO: Do we really need this here?
typo3/alt_shortcut.php (Arbeitskopie)
*/
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
require_once(PATH_t3lib.'class.t3lib_loadmodules.php');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
typo3/mod.php (Arbeitskopie)
*/
unset($MCONF);
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
// Find module path:
$temp_M = (string)t3lib_div::_GET('M');
if ($temp_path = $TBE_MODULES['_PATHS'][$temp_M]) {
$MCONF['_'] = 'mod.php?M='.rawurlencode($temp_M);
require($temp_path.'conf.php');
require_once($temp_path.'conf.php');
$BACK_PATH='';
require($temp_path.'index.php');
require_once($temp_path.'index.php');
} else {
#debug($TBE_MODULES);
die('Value "'.htmlspecialchars($temp_M).'" for "M" was not found as a module');
typo3/alt_doc_nodoc.php (Arbeitskopie)
*
*/
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml');
require_once(PATH_t3lib.'class.t3lib_loadmodules.php');
typo3/show_item.php (Arbeitskopie)
$BACK_PATH = '';
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
require_once(PATH_t3lib.'class.t3lib_page.php');
require_once(PATH_t3lib.'class.t3lib_loaddbgroup.php');
require_once(PATH_t3lib.'class.t3lib_transferdata.php');
typo3/alt_palette.php (Arbeitskopie)
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once(PATH_t3lib.'class.t3lib_tceforms.php');
require_once(PATH_t3lib.'class.t3lib_transferdata.php');
require_once(PATH_t3lib.'class.t3lib_loaddbgroup.php');
typo3/view_help.php (Arbeitskopie)
*
*/
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_view_help.xml');
require_once(PATH_t3lib.'class.t3lib_loadmodules.php');
require_once(PATH_t3lib.'class.t3lib_parsehtml.php');
typo3/wizard_colorpicker.php (Arbeitskopie)
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once(PATH_t3lib.'class.t3lib_stdgraphic.php');
$LANG->includeLLFile('EXT:lang/locallang_wizards.xml');
typo3/alt_db_navframe.php (Arbeitskopie)
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once('class.webpagetree.php');
typo3/alt_doc.php (Arbeitskopie)
*/
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml');
require_once (PATH_t3lib.'class.t3lib_tceforms.php');
require_once (PATH_t3lib.'class.t3lib_clipboard.php');
typo3/file_rename.php (Arbeitskopie)
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
typo3/file_newfolder.php (Arbeitskopie)
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
typo3/file_edit.php (Arbeitskopie)
*/
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
$TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
require(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
require_once(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
}
return;
$GLOBALS['TYPO3_LOADED_EXT'] = t3lib_extMgm::typo3_loadExtensions();
if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
require(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
require_once(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
} else {
$temp_TYPO3_LOADED_EXT = $TYPO3_LOADED_EXT;
reset($temp_TYPO3_LOADED_EXT);
while(list($_EXTKEY,$temp_lEDat)=each($temp_TYPO3_LOADED_EXT)) {
if (is_array($temp_lEDat) && $temp_lEDat['ext_localconf.php']) {
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
require($temp_lEDat['ext_localconf.php']);
require_once($temp_lEDat['ext_localconf.php']);
}
}
}
typo3/mod/tools/em/index.php (Arbeitskopie)
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$BE_USER->modAccess($MCONF,1);
require_once('class.em_index.php');
typo3/mod/web/perm/index.php (Arbeitskopie)
*/
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:lang/locallang_mod_web_perm.xml');
require_once (PATH_t3lib.'class.t3lib_pagetree.php');
require_once (PATH_t3lib.'class.t3lib_page.php');
typo3/mod/web/func/index.php (Arbeitskopie)
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:lang/locallang_mod_web_func.xml');
require_once(PATH_t3lib.'class.t3lib_scbase.php');
typo3/mod/web/info/index.php (Arbeitskopie)
*/
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:lang/locallang_mod_web_info.xml');
require_once (PATH_t3lib.'class.t3lib_scbase.php');
typo3/mod/user/ws/workspaceforms.php (Arbeitskopie)
// Initialize module:
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$BE_USER->modAccess($MCONF,1);
// Include libraries of various kinds used inside:
typo3/mod/user/ws/wsol_preview.php (Arbeitskopie)
define('TYPO3_PROCEED_IF_NO_USER', '1');
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once('class.wslib.php');
typo3/mod/user/ws/publish.php (Arbeitskopie)
// Initialize module:
unset($MCONF);
require('conf.php');
require($BACK_PATH . 'init.php');
require($BACK_PATH . 'template.php');
require_once('conf.php');
require_once($BACK_PATH . 'init.php');
require_once($BACK_PATH . 'template.php');
$BE_USER->modAccess($MCONF, 1);
// Include libraries of various kinds used inside:
typo3/alt_file_navframe.php (Arbeitskopie)
*/
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
require_once('class.filelistfoldertree.php');
typo3/db_new.php (Arbeitskopie)
$BACK_PATH='';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
// ***************************
typo3/init.php (Arbeitskopie)
// ****************************************************
// Include configuration (localconf + ext_localconf)
// ****************************************************
require(PATH_t3lib.'config_default.php');
require_once(PATH_t3lib.'config_default.php');
if (!defined ('TYPO3_db')) die ('The configuration file was not included.');
require_once(PATH_t3lib.'class.t3lib_db.php'); // The database library
typo3/sysext/lowlevel/dbint/cli/cleaner_cli.php (Arbeitskopie)
require_once(PATH_t3lib.'class.t3lib_refindex.php');
require_once(t3lib_extMgm::extPath('lowlevel').'class.tx_lowlevel_cleaner_core.php');
require(PATH_typo3.'template.php');
require_once(PATH_typo3.'template.php');
// Call the functionality
$cleanerObj = t3lib_div::makeInstance('tx_lowlevel_cleaner_core');
typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie)
// Include configuration
// **********************
$TT->push('Include config files','');
require(PATH_t3lib.'config_default.php');
require_once(PATH_t3lib.'config_default.php');
if (!defined ('TYPO3_db')) die ('The configuration file was not included.'); // the name of the TYPO3 database is stored in this constant. Here the inclusion of the config-file is verified by checking if this var is set.
if (!t3lib_extMgm::isLoaded('cms')) die('<strong>Error:</strong> The main frontend extension "cms" was not loaded. Enable it in the extension manager in the backend.');
......
if ($temp_extId = t3lib_div::_GP('eID')) {
if ($classPath = t3lib_div::getFileAbsFileName($TYPO3_CONF_VARS['FE']['eID_include'][$temp_extId])) {
require_once(PATH_tslib.'class.tslib_eidtools.php');
require($classPath);
require_once($classPath);
}
exit;
}
typo3/sysext/cms/layout/db_layout.php (Arbeitskopie)
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
$LANG->includeLLFile('EXT:cms/layout/locallang.xml');
require_once(PATH_t3lib.'class.t3lib_pagetree.php');
require_once(PATH_t3lib.'class.t3lib_page.php');
typo3/sysext/cms/layout/db_new_content_el.php (Arbeitskopie)
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
// Unset MCONF/MLANG since all we wanted was back path etc. for this particular script.
unset($MCONF);
typo3/sysext/setup/mod/index.php (Arbeitskopie)
*/
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once(PATH_t3lib.'class.t3lib_tcemain.php');
typo3/sysext/install/mod/class.tx_install.php (Arbeitskopie)
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extCache'] = 1;
$TYPO3_LOADED_EXT = t3lib_extMgm::typo3_loadExtensions();
if ($TYPO3_LOADED_EXT['_CACHEFILE']) {
require(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
require_once(PATH_typo3conf.$TYPO3_LOADED_EXT['_CACHEFILE'].'_ext_localconf.php');
}
// call wizard
typo3/sysext/rtehtmlarea/mod2/acronym.php (Arbeitskopie)
error_reporting (E_ALL ^ E_NOTICE);
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
require_once('class.tx_rtehtmlarea_acronym.php');
$LANG->includeLLFile('EXT:rtehtmlarea/mod2/locallang.xml');
$LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml');
typo3/sysext/rtehtmlarea/mod3/browse_links.php (Arbeitskopie)
error_reporting (E_ALL ^ E_NOTICE);
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
require_once('class.tx_rtehtmlarea_browse_links.php');
$LANG->includeLLFile('EXT:rtehtmlarea/mod3/locallang.xml');
$LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml');
typo3/sysext/rtehtmlarea/mod4/select_image.php (Arbeitskopie)
error_reporting (E_ALL ^ E_NOTICE);
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
require_once('class.tx_rtehtmlarea_select_image.php');
$LANG->includeLLFile('EXT:lang/locallang_browse_links.xml');
$LANG->includeLLFile('EXT:rtehtmlarea/mod4/locallang.xml');
typo3/sysext/rtehtmlarea/mod5/user.php (Arbeitskopie)
error_reporting (E_ALL ^ E_NOTICE);
unset($MCONF);
require('conf.php');
require($BACK_PATH.'init.php');
require($BACK_PATH.'template.php');
require_once('conf.php');
require_once($BACK_PATH.'init.php');
require_once($BACK_PATH.'template.php');
require_once('class.tx_rtehtmlarea_user.php');
$LANG->includeLLFile('EXT:rtehtmlarea/mod5/locallang.xml');
$LANG->includeLLFile('EXT:rtehtmlarea/htmlarea/locallang_dialogs.xml');
typo3/sysext/adodb/adodb/adodb-xmlschema.inc.php (Arbeitskopie)
* Include the main ADODB library
*/
if( !defined( '_ADODB_LAYER' ) ) {
require( 'adodb.inc.php' );
require( 'adodb-datadict.inc.php' );
require_once( 'adodb.inc.php' );
require_once( 'adodb-datadict.inc.php' );
}
/**
typo3/sysext/adodb/adodb/adodb-xmlschema03.inc.php (Arbeitskopie)
* Include the main ADODB library
*/
if( !defined( '_ADODB_LAYER' ) ) {
require( 'adodb.inc.php' );
require( 'adodb-datadict.inc.php' );
require_once( 'adodb.inc.php' );
require_once( 'adodb-datadict.inc.php' );
}
/**
typo3/file_upload.php (Arbeitskopie)
$BACK_PATH = '';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
typo3/move_el.php (Arbeitskopie)
$BACK_PATH='';
require('init.php');
require('template.php');
require_once('init.php');
require_once('template.php');
// Include local language labels:
$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
(1-1/2)