Ignore:
Timestamp:
09/26/07 16:21:28 (5 years ago)
Author:
hverton
Message:

fixed ticket #5: panel preview doesn't work
added new images for the Gallery module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Smarty-2.6.18/Smarty.class.php

    r814 r841  
    11201120    { 
    11211121        static $_cache_info = array(); 
    1122          
     1122 
    11231123        $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 
    11241124               ? $this->error_reporting : error_reporting() & ~E_NOTICE); 
     
    17521752            // make source name safe for filename 
    17531753            $_filename = urlencode(basename($auto_source)); 
     1754 
     1755            // WANWIZARD: if the filename contains illegal characters, use the MD5-hash 
     1756            if (preg_match("%[\\\/:;*?\"\[\]\%]%", $_filename)) { 
     1757                $_filename = md5($_filename); 
     1758            } 
     1759            // WANWIZARD: end-of-mod 
     1760 
    17541761            $_crc32 = sprintf('%08X', crc32($auto_source)); 
    17551762            // prepend %% to avoid name conflicts with 
Note: See TracChangeset for help on using the changeset viewer.