Changeset 20454

Show
Ignore:
Timestamp:
10/02/08 09:54:49 (3 months ago)
Author:
kenji
Message:

Fix 'jpg' hard code bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/codeigniter/trunk/system/application/helpers/MY_url_helper.php

    r20297 r20454  
    2929                if ($size == 31) 
    3030                { 
    31                         $filename = 'img/icons/' . $raw_name . '_48.jpg'; 
     31                        $filename = 'img/icons/' . $raw_name . '_48' . $ext; 
    3232                } 
    3333                else 
    3434                { 
    35                         $filename = 'img/icons/' . $raw_name . '_' . $size . '.jpg'; 
     35                        $filename = 'img/icons/' . $raw_name . '_' . $size . $ext; 
    3636                } 
    3737        }