Changeset 674 in subversion


Ignore:
Timestamp:
Aug 10, 2007 12:48:28 PM (6 years ago)
Author:
thomasb
Message:

Check filesize of template includes (#1484409)

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r673 r674  
    1313- Check if mbstring supports charset (#1484290 and #1484292) 
    1414- Prefer iconv over mbstring (as suggested in #1484292) 
     15- Check filesize of template includes (#1484409) 
    1516- Updated Simplified Chinese localization 
    1617- Added Ukrainian translation 
  • trunk/roundcubemail/program/include/rcmail_template.inc

    r668 r674  
    454454      case 'include': 
    455455        $path = realpath($this->config['skin_path'].$attrib['file']); 
    456         if ($fp = @fopen($path, 'r')) 
     456        if (filesize($path) && ($fp = @fopen($path, 'r'))) 
    457457        { 
    458458          $incl = fread($fp, filesize($path)); 
Note: See TracChangeset for help on using the changeset viewer.