summaryrefslogtreecommitdiff
path: root/protected/extensions/extckeditor/assets/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'protected/extensions/extckeditor/assets/.htaccess')
-rw-r--r--protected/extensions/extckeditor/assets/.htaccess24
1 files changed, 24 insertions, 0 deletions
diff --git a/protected/extensions/extckeditor/assets/.htaccess b/protected/extensions/extckeditor/assets/.htaccess
new file mode 100644
index 0000000..8d694ef
--- /dev/null
+++ b/protected/extensions/extckeditor/assets/.htaccess
@@ -0,0 +1,24 @@
+#
+# Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
+# For licensing, see LICENSE.html or http://ckeditor.com/license
+#
+
+#
+# On some specific Linux installations you could face problems with Firefox.
+# It could give you errors when loading the editor saying that some illegal
+# characters were found (three strange chars in the beginning of the file).
+# This could happen if you map the .js or .css files to PHP, for example.
+#
+# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
+# All FCKeditor files are Unicode encoded.
+#
+
+AddType application/x-javascript .js
+AddType text/css .css
+
+#
+# If PHP is mapped to handle XML files, you could have some issues. The
+# following will disable it.
+#
+
+AddType text/xml .xml