[TYPO3-dev] introduction package not working in MAMP php 5.3.2

Steffen Kamper info at sk-typo3.de
Sun Jan 23 17:51:48 CET 2011


Hi,

Am 23.01.2011 16:07, schrieb Johannes Feustel:
> My weird PHP seems to not detect the already required file because of
> the different path. In ajax.php the file is included relative while
> init.php uses "PATH_t3lib.". It works now if I set the absolute path
> hardcoded in ajax.php. strtolower(PATH_t3lib) did also not help.
> I guess this is a PHP bug, but I am not sure if this can be solved by
> some configuration or if it is solved in other php versions.
> Is it possible to detect the absolut path also in ajax.php?
>

i don't see the need of including t3lib_div only for fetching _GP('ajaxID')
This could be done by simple $_REQUEST('ajaxID')

And yes, this is a pretty php bug.

vg Steffen






More information about the TYPO3-dev mailing list