Daniel Brüßler wrote:
> dirname has the minimum PHPversion 4.3.0, because there was a change
> with the path, or PHP 5.0.0 .
>
> I found also this to get the relative path:
> $relativePath = basename(realpath(".."))
just go with t3lib_div::getIndepEnvvar()
that method is taking care of such things...
Ingo