Feature #86

Constant 'TYPO3_PATH_PACKAGES' consists of mixed slashes on windows

Added by Malte Jansen almost 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Must have
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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 '/';

#1

Updated by Malte Jansen almost 14 years ago

Due to Ticket #5 the Testing package must be cleanup not using the DIRECTORY_SEPARATOR.

#2

Updated by Karsten Dambekalns almost 14 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 almost 14 years ago

Yes, I'm testing on a windows-machine.

Your change solves this problem ;)

#4

Updated by Robert Lemke over 13 years ago

  • Target version deleted (1)

Also available in: Atom PDF