Changeset 1066 for trunk/expressoMail1_2/inc
- Timestamp:
- 07/01/09 10:23:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.exporteml.inc.php
r1059 r1066 75 75 $file = $subject."_".$i.".eml"; 76 76 } else{ 77 $file = "email_".$ GLOBALS['phpgw']->session->sessionid.".eml";77 $file = "email_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".eml"; 78 78 } 79 79 } … … 90 90 91 91 function createFileZip($files, $tempDir){ 92 $tmp_zip_filename = "email_".$ GLOBALS['phpgw']->session->sessionid.".zip";92 $tmp_zip_filename = "email_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".zip"; 93 93 $command = "cd " . escapeshellarg($tempDir) . " && nice zip -m9 " . escapeshellarg($tmp_zip_filename) . " " . escapeshellcmd($files); 94 94 if(!exec($command)) { … … 235 235 $body = $this-> getBody($id_number); 236 236 237 $file = "source_".$ GLOBALS['phpgw']->session->sessionid.".txt";237 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".txt"; 238 238 $f = fopen($tempDir.'/'.$file,"w"); 239 239 fputs($f,$header ."\r\n\r\n". $body); … … 273 273 $body = $this-> getBody($id_msg); 274 274 275 $file = "source_".$ GLOBALS['phpgw']->session->sessionid.".php";275 $file = "source_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".php"; 276 276 $f = fopen($tempDir.'/'.$file,"w"); 277 277 fputs($f,$phpheader.$header ."\r\n\r\n". $body);
Note: See TracChangeset
for help on using the changeset viewer.