[TYPO3-core] RFC: Bug #6158: index.php assumes current working directory to be PATH_site

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Feb 4 19:23:41 CET 2008


Oliver Hader schrieb:
> Hi Masi,
> 
> Martin Kutschker schrieb:
>> Oliver Hader schrieb:
>>> This is a SVN patch request.
>>>
>>> Problem:
>>> On linked sources the current working directory is set to the linked 
>>> source and not to the originally called one (as provided in PATH_site).
>>> Thus, releative file calls (e.g. loading a HTML template file) will 
>>> not work anymore ("crashes") and a blank page is shown.
>>> This only happens when the following conditions are met:
>>> * PHP 5.2.4-xxx (fixed in PHP 5.2.5)
>>
>> Which versions are affected? Yoeú check for (<= 5.2.4 && < 5.2.5). Why 
>> don't you use (= 5.2.4)?
> 
> I check for (5.2.4 <= version && version < 5.2.5).

Sorry.

Masi


More information about the TYPO3-team-core mailing list