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

Johannes Feustel j at feustel.eu
Sun Jan 23 19:27:18 CET 2011


Am 23.01.11 17:51, schrieb Steffen Kamper:
> 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

small patch in
http://bugs.typo3.org/view.php?id=17250




More information about the TYPO3-dev mailing list