[TYPO3-core] RFC: Fix #1007: Access to file resources does not work with mod_fcgid

Michael Stucki michael at typo3.org
Fri Apr 4 00:43:15 CEST 2008


This is a SVN patch request.

Problem:
The function $TSFE->tmpl->getFileName() expects that the current working
directory is set to the directory of the request file. However, it seems
that when running PHP with mod_fcgid, this is not set.

Now when checking for the existance of some (relative) file resource, the
file is not found.

Solution:
Prefix all files with PATH_site.

Branches: TYPO3_4-2

Bugtracker reference:
http://bugs.typo3.org/view.php?id=1007

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1007.diff
Type: text/x-diff
Size: 2350 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080404/1ef5fbc2/attachment-0001.diff 


More information about the TYPO3-team-core mailing list