public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
add *.ico to list of approved extensions for theme resources [myles_b]

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2631 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Mon Jan 01 19:59:15 -0800 2007
commit  779a61e1ac12ccd71e006166b0e28d52f85256ad
tree    ca973d950d8a6bdce91b5388b1075b066b83999d
parent  7adadf52fb12cd154b99a7d641cf8c5577b13e59
...
1
2
 
 
3
4
5
...
1
2
3
4
5
6
7
0
@@ -1,5 +1,7 @@
0
 * SVN *
0
 
0
+* add *.ico to list of approved extensions for theme resources [myles_b]
0
+
0
 * Link comments to the currently logged in user, requires latest edge/1.2 rails [Josh Susser]
0
 
0
 * Convert typo filters and permalinks to mephisto [Josh Susser]
...
12
13
14
 
15
16
17
...
12
13
14
15
16
17
18
0
@@ -12,6 +12,7 @@ class Resources < Attachments
0
       when '.jpg', '.jpeg' then 'image/jpeg'
0
       when '.gif' then 'image/gif'
0
       when '.swf' then 'application/x-shockwave-flash'
0
+ when '.ico' then 'image/x-icon'
0
     end
0
   end
0
   
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 class Theme
0
   @@root_theme_files = %w(about.yml preview.png)
0
   @@theme_directories = %w(templates layouts javascripts stylesheets images)
0
- @@allowed_extensions = %w(.js .css .liquid .png .gif .jpg .swf)
0
+ @@allowed_extensions = %w(.js .css .liquid .png .gif .jpg .swf .ico)
0
   cattr_reader :root_theme_files, :theme_directories, :allowed_extensions
0
   attr_reader :path, :base_path
0
 

Comments

    No one has commented yet.