[Typo3-linux] Open Stream Problem

Ingmar Schlecht ingmars at REMOVETHISweb.de
Sun Aug 10 14:03:14 CEST 2003


Mark Norman wrote:
> Thanks for the clue. The fix suggested in the archive did not work for me,
> but in a similiar vein I hardcoded a path in index.php (line 51) from:
> 
> define("PATH_thisScript",str_replace('//','/', str_replace('\\','/',
> php_sapi_name()=="cgi"||php_sapi_name()=="isapi" ?
> $HTTP_SERVER_VARS["PATH_TRANSLATED"]:$HTTP_SERVER_VARS["SCRIPT_FILENAME"])))
> ;
> 
> To:-
> 
> define("PATH_thisScript",str_replace('//','/', str_replace('\\','/',
> $HTTP_SERVER_VARS["SCRIPT_FILENAME"])));

Thanks for publishing your solution here, I have included it into the 
faq item at http://typo3.org/1422+M54defb70332.0.html

- Ingmar




More information about the TYPO3-linux mailing list