Feature #86
Constant 'TYPO3_PATH_PACKAGES' consists of mixed slashes on windows
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
The Constant is still working, but it looks is very strange:
'D:\\workspace-typo3\\htdocs\\t3_v50/Packages/'
So, there properbly something wrong with the definition:
T3_Framework.php
define('TYPO3_PATH_PRIVATEFILECACHE', TYPO3_PATH_ROOT . 'FileCache/Private/'); define('TYPO3_PATH_PACKAGES', TYPO3_PATH_ROOT . 'Packages/'); define('TYPO3_PATH_FRAMEWORK', TYPO3_PATH_PACKAGES . 'Framework/Classes/' );
Solution:
Use the Constant: 'DIRECTORY_SEPARATOR' instead of '/';
History
#1 Updated by Malte Jansen over 7 years ago
Due to Ticket #5 the Testing package must be cleanup not using the DIRECTORY_SEPARATOR.
#2 Updated by Karsten Dambekalns over 7 years ago
- Status changed from New to Closed
- Sprint set to fixed
(In r409) Changed the way the TYPO3_PATH_ROOT is set. This (hopefully) closes #86, please check if you are on a Windows machine.
#3 Updated by Malte Jansen over 7 years ago
Yes, I'm testing on a windows-machine.
Your change solves this problem ;)
#4 Updated by Robert Lemke about 7 years ago
- Target version deleted (
1)