Changeset 22021 for branches/version-2_12-dev/data/class/SC_UploadFile.php
- Timestamp:
- 2012/09/06 15:10:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_UploadFile.php
r21926 r22021 156 156 $uniqname = date('mdHi') . '_' . uniqid('').'.'; 157 157 $this->temp_file[$cnt] = preg_replace("/^.*\./", $uniqname, $_FILES[$keyname]['name']); 158 set_time_limit(0);159 158 $result = copy($_FILES[$keyname]['tmp_name'], $this->temp_dir . $this->temp_file[$cnt]); 160 159 GC_Utils_Ex::gfPrintLog($result.' -> '. $this->temp_dir . $this->temp_file[$cnt]); 160 SC_Utils_Ex::extendTimeOut(); 161 161 } 162 162 }
Note: See TracChangeset
for help on using the changeset viewer.