Changeset 1406


Ignore:
Timestamp:
09/14/09 10:53:35 (15 years ago)
Author:
amuller
Message:

Ticket #519 - Erro no caminho absoluto da imagem, ao inserir no email

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r1401 r1406  
    24192419                                        imagecopyresampled($image_new, $image_big, 0, 0, 0, 0, $new_width, $new_height, $width, $height); 
    24202420                                        $tmpDir = ini_get("session.save_path"); 
    2421                                         $_file = "cidimage_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".dat";  
     2421                                        $_file = "/cidimage_".$_SESSION[ 'phpgw_session' ][ 'session_id' ].".dat";  
    24222422                                        imagejpeg($image_new,$tmpDir.$_file, 85); 
    24232423                                        $mail->AddAttachment($tmpDir.$_file, $attach['name'], "base64", $this->get_file_type($tmpDir.$_file)); 
Note: See TracChangeset for help on using the changeset viewer.