diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-10-06 12:49:03 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2013-10-06 12:49:03 +0200 |
commit | 2585802e750dc170833e3c37bf9ea2941d1d06dc (patch) | |
tree | c62747fd124aa6b9c550b8a8a282d09eef912805 /themes/mantra/js/PIE/PIE.php | |
parent | Update akismet (diff) | |
download | blogs-gentoo-2585802e750dc170833e3c37bf9ea2941d1d06dc.tar.gz blogs-gentoo-2585802e750dc170833e3c37bf9ea2941d1d06dc.tar.bz2 blogs-gentoo-2585802e750dc170833e3c37bf9ea2941d1d06dc.zip |
Add mantra theme, requested by hwoarang
Diffstat (limited to 'themes/mantra/js/PIE/PIE.php')
-rw-r--r-- | themes/mantra/js/PIE/PIE.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/mantra/js/PIE/PIE.php b/themes/mantra/js/PIE/PIE.php new file mode 100644 index 00000000..9280626b --- /dev/null +++ b/themes/mantra/js/PIE/PIE.php @@ -0,0 +1,19 @@ +<?php
+/*
+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:
+
+.myElement {
+ [ ...css3 properties... ]
+ behavior: url(PIE.php);
+}
+
+This is only necessary when the web server is not configured to serve .htc files with
+the text/x-component content-type, and cannot easily be configured to do so (as is the
+case with some shared hosting providers).
+*/
+
+header( 'Content-type: text/x-component' );
+include( 'PIE.htc' );
+?>
\ No newline at end of file |