[TASK] PATH_tslib is defined twice in bootstrap
authorAndy Grunwald <andygrunwald@gmail.com>
Mon, 19 Mar 2012 18:50:10 +0000 (19:50 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 11 Apr 2012 11:35:42 +0000 (13:35 +0200)
commitc658723b93263fa3829d9e7eea4eb622c6d37a7c
treea6a5b2c6cefa50e08bf333c810a01f52f243ef7c
parentb2c1191c17c554ee32f54f27f85df87d26f0b441
[TASK] PATH_tslib is defined twice in bootstrap

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

See also #35003 and #35017

Change-Id: I6b86c3bdb071af06b2c64b8cbbc977e9387408c8
Fixes: #35019
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/9754
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/index_ts.php