[TYPO3-core] RFC: cli_dispatch.phpsh
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Wed Nov 29 12:48:35 CET 2006
Bernhard Kraft schrieb:
> Hi,
>
>
>> Neither $_ENV['_'] nor $_SERVER['_'] is set on my server ("standard"
>> SuSE Linux with PHP 4.3.8).
>
>
> Whenever I want to get the filename of the current file in the filesystem
> (The real location - meaning all symbolic links resolved) - i alwyays
> use:
>
> echo __FILE__;
If you symlink the typo3 sources you will get in case of cli_dispatch.phpsh
the location of it in the source tree not in the installation. Which is not
what we want here.
:(
Masi
More information about the TYPO3-team-core
mailing list