summaryrefslogtreecommitdiff
path: root/kohana/config/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'kohana/config/view.php')
-rw-r--r--kohana/config/view.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/kohana/config/view.php b/kohana/config/view.php
new file mode 100644
index 00000000..ed6b13b1
--- /dev/null
+++ b/kohana/config/view.php
@@ -0,0 +1,17 @@
+<?php defined('SYSPATH') or die('No direct script access.');
+/**
+ * @package Core
+ *
+ * Allowed non-php view types. Most file extensions are supported.
+ */
+$config['allowed_filetypes'] = array
+(
+ 'gif',
+ 'jpg', 'jpeg',
+ 'png',
+ 'tif', 'tiff',
+ 'swf',
+ 'htm', 'html',
+ 'css',
+ 'js'
+);