Changeset 1597 for trunk/expressoMail1_2/inc/class.exporteml.inc.php
- Timestamp:
- 11/06/09 08:00:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.exporteml.inc.php
r1595 r1597 486 486 487 487 $tempDir = ini_get("session.save_path"); 488 $tempSubDir = md5(microtime());488 $tempSubDir = $_SESSION['phpgw_session']['session_id']; 489 489 $fileNames = ''; 490 490 exec('mkdir ' . $tempDir . '/'.$tempSubDir.'; cd ' . $tempDir . '/'.$tempSubDir); … … 495 495 $imap_attachment = new imap_attachment(); 496 496 $attachments = $imap_attachment->download_attachment($this->mbox_stream, $id_number); 497 498 497 foreach($attachments as $i => $attachment){ 499 498 if($i && $i == 'names') … … 528 527 } 529 528 else 530 $file = false; 531 529 $file = false; 532 530 return $file; 533 531 }
Note: See TracChangeset
for help on using the changeset viewer.