Hi,
Attached is the patch for apache1 SAPI which fixes the issue that the syntax highter doesn't work with output buffering enabled.
The patch simply tries to call php_request_shutdown() even under display_source_mode because php_request_startup() is called anytime in prior to the highlight_file() call.
If there are no objections, I'll commit this patch shortly.
Regards,
Moriyoshi
oops, wrong patch.
Here's the correct one.
Moriyoshi
Moriyoshi Koizumi moriyoshi@at.wakwak.com wrote:
Quoted text · 6 lines
Hi,
Attached is the patch for apache1 SAPI which fixes the issue that the syntax highter doesn't work with output buffering enabled.
The patch simply tries to call php_request_shutdown() even under display_source_mode because php_request_startup() is called anytime in prior to the
highlight_file()call.If there are no objections, I'll commit this patch shortly.
Regards,
Moriyoshi