diff --git a/typo3/sysext/cms/tslib/index_ts.php b/typo3/sysext/cms/tslib/index_ts.php index 0431bbf70de0c827faabdacc874238d338b3c942..2d6b81e97bf3ce7fd461f96dee2b98c098ff04e6 100644 --- a/typo3/sysext/cms/tslib/index_ts.php +++ b/typo3/sysext/cms/tslib/index_ts.php @@ -70,14 +70,6 @@ define('TYPO3_mainDir', 'typo3/'); // This is the directory of the backend admi define('PATH_typo3', PATH_site.TYPO3_mainDir); define('PATH_typo3conf', PATH_site.'typo3conf/'); -if (!defined('PATH_tslib')) { - if (@is_dir(PATH_site.TYPO3_mainDir.'sysext/cms/tslib/')) { - define('PATH_tslib', PATH_site.TYPO3_mainDir.'sysext/cms/tslib/'); - } elseif (@is_dir(PATH_site.'tslib/')) { - define('PATH_tslib', PATH_site.'tslib/'); - } -} - if (!@is_dir(PATH_typo3conf)) die('Cannot find configuration. This file is probably executed from the wrong location.'); // ********************* @@ -106,10 +98,6 @@ require(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 (!defined('PATH_tslib')) { - define('PATH_tslib', t3lib_extMgm::extPath('cms').'tslib/'); -} - // ********************* // Timetracking started