Actions
Bug #22333
closedCache framework FileBackend doesn't work on windows when configured with absolute paths
Start date:
2010-03-26
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
when you configure the Filebackend in windows with absolute path, example:
array('cacheDirectory' => 'C:/xampp/htdocs/tv/t3cache/')
you will get an exeption that the path 'C:/xampp/htdocs/tv/t3cache/' doesn't exists.
I wondered, the path is correct and folder exist, but the FileBackend checks for '/' as first char for absolute path, and if not the path is concatenated with PATH_site.
So following is needed:
1) if on windows do a different check for absolute path
2) if the dir doesn't exist, print in exceptionthe path from the check (in this case PATH_site . configuredPath)
(issue imported from #M13925)
Files
Actions