[TYPO3-core] RFC: Bug #5838: cli_dispatch.phpsh not working with windows

Andreas Otto andreas.otto at dkd.de
Mon Jul 16 19:31:07 CEST 2007

Hi Michael,

Michael Stucki wrote:
> All I can say is that is doesn't break my existing system. But if Irene,
> you and Masi have tested this, it's ok to go ahead.

The following code is used in the extension dkd_staticupload_scp:

        // Defining PATH_thisScript here: Must be the ABSOLUTE path of this script
in the right context:
        // This will work as long as the script is called by it's absolute path!
// define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);

Plus, works on Linux and Win32 as this was a requirement
when we created the extension.


More information about the TYPO3-team-core mailing list