Changeset 841 in ExiteCMS for trunk/includes/Smarty-2.6.18/Smarty.class.php
- Timestamp:
- 09/26/07 16:21:28 (5 years ago)
- File:
-
- 1 edited
-
trunk/includes/Smarty-2.6.18/Smarty.class.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Smarty-2.6.18/Smarty.class.php
r814 r841 1120 1120 { 1121 1121 static $_cache_info = array(); 1122 1122 1123 1123 $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) 1124 1124 ? $this->error_reporting : error_reporting() & ~E_NOTICE); … … 1752 1752 // make source name safe for filename 1753 1753 $_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 1754 1761 $_crc32 = sprintf('%08X', crc32($auto_source)); 1755 1762 // prepend %% to avoid name conflicts with
Note: See TracChangeset
for help on using the changeset viewer.
