Actions
Bug #15735
closedProposal for sysext/cms/tslib/index_ts.php - change hardcoded "typo3/" to TYPO3_mainDir
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
-
Start date:
2006-02-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
if (!defined('PATH_tslib')) {
if (@is_dir(PATH_site.'typo3/sysext/cms/tslib/')) {
define('PATH_tslib', PATH_site.'typo3/sysext/cms/tslib/');
} elseif (@is_dir(PATH_site.'tslib/')) {
define('PATH_tslib', PATH_site.'tslib/');
}
}
=>
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/');
}
}
Or do you see any side effects?
Greetings,
Christian
(issue imported from #M2713)
Actions