Please sign in to comment.
Add PHP wrapper as workaround for web servers which are not configure…
…d to serve .htc files as content type text/x-component.
- Loading branch information...
Showing with 31 additions and 2 deletions.
|@@ -0,0 +1,18 @@|
|+This file is a wrapper, for use in PHP environments, which serves PIE.htc using the|
|+correct content-type, so that IE will recognize it as a behavior. Simply specify the|
|+behavior property to fetch this .php file instead of the .htc directly:|
|+ [ ...css3 properties... ]|
|+ behavior: url(PIE.php);|
|+This is only necessary when the web server is not already configured to serve .htc files|
|+with the text/x-component content-type.|
|+header( 'Content-type: text/x-component' );|
|+include( 'PIE.htc' );|