summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-03-10 19:10:16 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-03-10 19:10:23 -0500
commitf0ba08ced62b6fb3d1d5c7f1c1dd18b9b880a515 (patch)
tree4d1b83b544d48f04f78a6a1f52c903c32e2bd9dc /themes/mantra/resources/js/PIE/PIE.php
parentUpdate akismet 4.0.2 (diff)
downloadblogs-gentoo-f0ba08ced62b6fb3d1d5c7f1c1dd18b9b880a515.tar.gz
blogs-gentoo-f0ba08ced62b6fb3d1d5c7f1c1dd18b9b880a515.tar.bz2
blogs-gentoo-f0ba08ced62b6fb3d1d5c7f1c1dd18b9b880a515.zip
Update mantra 3.0.4
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'themes/mantra/resources/js/PIE/PIE.php')
-rw-r--r--themes/mantra/resources/js/PIE/PIE.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/mantra/resources/js/PIE/PIE.php b/themes/mantra/resources/js/PIE/PIE.php
new file mode 100644
index 00000000..58a6f0a6
--- /dev/null
+++ b/themes/mantra/resources/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