Index: tslib/index_ts.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/cms/tslib/index_ts.php,v retrieving revision 1.20 diff -u -r1.20 index_ts.php --- tslib/index_ts.php 1 Apr 2005 14:37:14 -0000 1.20 +++ tslib/index_ts.php 10 Apr 2005 16:41:12 -0000 @@ -78,8 +78,8 @@ // Mandatory libraries included // ********************* $TT->push('Include class t3lib_db, t3lib_div, t3lib_extmgm',''); - require(PATH_t3lib.'class.t3lib_div.php'); - require(PATH_t3lib.'class.t3lib_extmgm.php'); + require_once(PATH_t3lib.'class.t3lib_div.php'); + require_once(PATH_t3lib.'class.t3lib_extmgm.php'); $TT->pull(); @@ -92,7 +92,7 @@ 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('Error: The main frontend extension "cms" was not loaded. Enable it in the extension manager in the backend.'); -require(PATH_t3lib.'class.t3lib_db.php'); +require_once(PATH_t3lib.'class.t3lib_db.php'); $TYPO3_DB = t3lib_div::makeInstance('t3lib_DB'); $CLIENT = t3lib_div::clientInfo(); // Set to the browser: net / msie if 4+ browsers