Changeset 3139
- Timestamp:
- 08/05/10 14:13:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoMail1_2/inc/gotodownload.php
r3114 r3139 173 173 if (preg_match("#^".ini_get('session.save_path')."/(".$GLOBALS['phpgw']->session->sessionid."/)*[A-z]+_".$GLOBALS['phpgw']->session->sessionid."[A-z0-9]*(\.[A-z]{3,4})?$#",$strFileName)) 174 174 { 175 if ( preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) {175 if ( ! preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 176 176 //reset time limit for big files 177 177 set_time_limit(0); … … 193 193 } 194 194 else 195 if (preg_match("#^".dirname( __FILE__ ) . '/../tmpLclAtt'."/source_#",$strFileName)) { 196 readfile($strFileName); 197 } 195 readfile($strFileName); 198 196 } 199 197 }
Note: See TracChangeset
for help on using the changeset viewer.