[TYPO3-core] RFC: Bug / Feature #5838: Get cli_dispatch.phpsh to work on windows platforms

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Oct 29 12:48:03 CET 2007


Martin Kutschker wrote:
> The conditions simply fail when a relative path is used. It's a bit 
> sloopy because he code doesn't handle this explicitely, but no actual 
> harm is done. Currently there exists no solution that enables relative 
> paths on Windows.

I was under impression that $_SERVER['PWD'] contains absolute path. Am I wrong? If I am correct, we can use getcwd(). I am not big specialist in command-line PHP though...

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list