Bug #24847
closedPHP_SCRIPT_EXT in 4.5 doesn't work
0%
Description
reproduce:
page.10 = PHP_SCRIPT_EXT
page.10.file = fileadmin/scripts/phpinfo.php
set version back to 4.4.6 and it works again
(issue imported from #M17351)
Files
Updated by Jason Alexander almost 14 years ago
I can confirm. This issue is also happening to me.
Updated by Administrator Admin almost 14 years ago
Confirmed: Just updated from v4.4.6 to v4.5.0 and ran right into it.
Updated by Jo Hasenau almost 14 years ago
Both, PHP_SCRIPT_INT and PHP_SCRIPT_EXT don't seem to work properly, while PHP_SCRIPT does.
Attached patch should fix this bug.
It splits up the PhpScriptInternal class in two separate classes, since the parameter to distinguish between INT and EXT is not available.
Tested with all 3 kinds of PHP_SCRIPT - please try if this works for you.
Updated by Administrator Admin almost 14 years ago
@Jo
Great! This works for me.
I upgraded from v4.4.2 to v4.5.0 => no PHP_SCRIPT_EXT no more.
Maybe you should state that class.tslib_content_phpscriptexternal.php has to be created. At first I was puzzled it was 'missing'...
Status Solved! Thanks.
Updated by Administrator Admin almost 14 years ago
Confirmed, but cannot patch since we want to make sure PHP_SCRIPT_EXT will continue to be supported officially before upgrading; otherwise, we will need to move away from using it before we can upgrade.
Updated by Administrator Admin almost 14 years ago
I can confirm the Bug and that the diff is working. Would be nice if the next version contained this fix...
Updated by Ernesto Baschny almost 14 years ago
We will include that in 4.5.1, thanks for reporting and Joey for the fix. Ready for an RFC on the core list?