Ignore:
Timestamp:
06/22/09 11:54:40 (15 years ago)
Author:
amuller
Message:

Ticket #559 - Correção de problema, usando caminho relativo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/show_img.php

    r1036 r1037  
    11<?php 
    2         $GLOBALS['phpgw_info']['flags'] = array( 
    3                 'currentapp' => 'expressoMail1_2', 
    4                 'nonavbar'   => true, 
    5                 'noheader'   => true 
    6         ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     2if(!isset($GLOBALS['phpgw_info'])){ 
     3        $GLOBALS['phpgw_info']['flags'] = array( 
     4                'currentapp' => 'expressoMail1_2', 
     5                'nonavbar'   => true, 
     6                'noheader'   => true 
     7        ); 
     8        require_once '../header.inc.php'; 
     9} 
    910        header("Content-Type: image/jpeg"); 
    1011        if($_GET['msg_num'] && $_GET['msg_part'] && $_GET['msg_folder']) { 
Note: See TracChangeset for help on using the changeset viewer.