Project

General

Profile

Actions

Task #35019

closed

PATH_tslib is defined twice in bootstrap

Added by Andy Grunwald over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2012-03-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

In index.php AND typo3/sysext/cms/tslib/index_ts.php (which will be included in index.php) the constant PATH_tslib is defined.

The definition in typo3/sysext/cms/tslib/index_ts.php is obsolete, because this will be checked via if(!defined(...)).

In index.php, if PATH_tslib is empty the script will die immediately.
After that check, PATH_tslib will be used to include index_ts.php


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #35003: PATH_thisScript is defined twice in bootstrapClosed2012-03-19

Actions
Related to TYPO3 Core - Task #35017: PATH_site is defined twice in bootstrapClosedAndy Grunwald2012-03-19

Actions
Actions

Also available in: Atom PDF