[Typo3-dev] CLI API proposal

Rainer Kuhn kuhn at punkt.de
Wed Dec 8 16:10:10 CET 2004


Rainer Kuhn wrote:
> define(PATH_thisScript, $_SERVER['argv'][0]);
> instead of the suggested
> define(PATH_thisScript, $HTTP_ENV_VARS['_']);
> 
> and this worked fine for me with different shells. Maybe this could be a 
> general solution for the script path problem (can somebody try this on 
> different systems -e.g. Windows- to check if it works in other 
> environments)?
> 
> Comments appreciated...

No comments or trials at all?
Is this proposal not of any interest or does nobody use the CLI API on 
non-Linux Unices or Windows (I tried different shells on FreeBSD but no 
different OS) ?

Cheers,
Rainer




More information about the TYPO3-dev mailing list