[TYPO3-core] RFC: cli_dispatch.phpsh

Michael Stucki michael at typo3.org
Wed Nov 29 21:01:36 CET 2006


Martin Kutschker wrote:
> Check $_SERVER['argv'][0] first and then do a fallback to $_ENV['_'] and
> $_SERVER['_'].

+1, but not tested. Would this also work if the script is still called from a 
browser? I think this should be possible, even for shell scripts... (But 
maybe a wrapper is needed for this?)

This will probably become something similar to the PATH_thisScript detection 
in index_ts.php...

- michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20061129/05322e0f/attachment.pgp 


More information about the TYPO3-team-core mailing list