farhadi/SmartOptimizer — Issue #14: php as html - mime type issue
Author: lunaraurora
Created: 2011-11-10 22:09:28+00:00
State: open

i'm using a php call function to display rss feed, i would like to embed the code in an .html page to display them. I added this code to the .htaccess to make php files treated as html: AddType application/x-httpd-php .html

Now what happen is that the code works well when smartoptimizer (7) is disabled and when i enable it, the php code result in a blank line.

Personally i tried to add the mime type php to be interpreted as html in the smartoptimizer/index.php file:

$mimeTypes = array(
"php"	=> "text/html",

but nothing happen.

I didn't find any thread on net about this issue.