Changeset 1037


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

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

Location:
trunk/expressoMail1_2
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/controller.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'; 
    9  
    102        //      Explode action from cExecuteForm function 
    113        $cExecuteFormReturn = false; 
  • trunk/expressoMail1_2/inc/class.ScriptS.inc.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 
    1011//Inclui o arquivo contendo a classe SieveS; 
  • trunk/expressoMail1_2/inc/class.SieveS.inc.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} 
     10 
    911//Conecta com o Servidor e o serviço Sieve; 
    1012class SieveS{ 
  • trunk/expressoMail1_2/inc/class.db_functions.inc.php

    r1036 r1037  
    11<?php 
     2        if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9        } 
     10 
    911define('PHPGW_INCLUDE_ROOT','../');      
    1012define('PHPGW_API_INC','../phpgwapi/inc');       
  • trunk/expressoMail1_2/inc/class.exporteml.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910/***************************************************************************************\ 
    1011* Export EML Format Message Mail                                                                                                                * 
  • trunk/expressoMail1_2/inc/class.functions.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
     8        require_once '../header.inc.php'; 
     9} 
    710 
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
    911        class Functions{ 
    1012                 
  • trunk/expressoMail1_2/inc/class.imap_attachment.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910class imap_attachment 
    1011{ 
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910include_once("class.functions.inc.php"); 
    1011include_once("class.ldap_functions.inc.php"); 
  • trunk/expressoMail1_2/inc/class.ldap_functions.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910include_once("class.imap_functions.inc.php"); 
    1011include_once("class.functions.inc.php"); 
  • trunk/expressoMail1_2/inc/class.message_components.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
    9  
     8        require_once '../header.inc.php'; 
     9} 
    1010    class message_components { 
    1111 
  • trunk/expressoMail1_2/inc/class.phpmailer.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//////////////////////////////////////////////////// 
    1011// PHPMailer - PHP email class 
  • trunk/expressoMail1_2/inc/class.smtp.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//////////////////////////////////////////////////// 
    1011// SMTP - PHP SMTP class 
  • trunk/expressoMail1_2/inc/class.user.inc.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'; 
    9         class user{ 
     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} 
     10class user{ 
    1011                 
    1112                function get_user(){ 
  • trunk/expressoMail1_2/inc/fckeditor.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/* 
    1011 * FCKeditor - The text editor for internet 
  • trunk/expressoMail1_2/inc/gd_functions.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*Author: 
    1011*    JPEXS  from http://www.hotscripts.com* ImageCreateFromBmp 
  • trunk/expressoMail1_2/inc/gotodownload.php

    r1036 r1037  
    11<? 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910 
    1011        $msg_number = $_GET['msg_number']; 
  • trunk/expressoMail1_2/inc/hook_admin.inc.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
     8        require_once '../header.inc.php'; 
     9} 
    710 
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
    911        /**************************************************************************\ 
    1012        * eGroupWare                                                               * 
  • trunk/expressoMail1_2/inc/hook_home.inc.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         
    1011        $current_app = 'expressoMail1_2'; 
  • trunk/expressoMail1_2/inc/hook_preferences.inc.php

    r1036 r1037  
    11<?php 
    2         $GLOBALS['phpgw_info']['flags'] = array( 
    3                 'currentapp' => 'expressoMail1_2', 
    4                 'nonavbar'   => true, 
    5                 'noheader'   => true 
    6         ); 
     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} 
    710 
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
    9 { 
    1011        $title = $appname; 
    1112        $file = array( 
     
    1415        //Do not modify below this line 
    1516        display_section($appname,$title,$file); 
    16 } 
    1717?> 
  • trunk/expressoMail1_2/inc/hook_settings.inc.php

    r1036 r1037  
    11<?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} 
     10 
    211        $GLOBALS['phpgw_info']['flags'] = array( 
    312                'currentapp' => 'expressoMail1_2', 
     
    615        ); 
    716 
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     17        require_once '../../header.inc.php'; 
    918        /**************************************************************************\ 
    1019        * eGroupWare - ExpressoMail Preferences                                    * 
  • trunk/expressoMail1_2/inc/load_lang.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// Load the lang of the module. 
    1011        if(!$_SESSION['phpgw_info']['expressomail']['lang'])  
  • trunk/expressoMail1_2/inc/show_embedded_attach.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        $username = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 
    1011        $password = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; 
  • 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']) { 
  • trunk/expressoMail1_2/inc/show_thumbs.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
    7  
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
     8        require_once '../header.inc.php'; 
     9} 
    910        $username = $_SESSION['phpgw_info']['expressomail']['user']['userid']; 
    1011        $password = $_SESSION['phpgw_info']['expressomail']['user']['passwd']; 
  • trunk/expressoMail1_2/inc/show_user_photo.php

    r1036 r1037  
    11<?php 
     2if(!isset($GLOBALS['phpgw_info'])){ 
    23        $GLOBALS['phpgw_info']['flags'] = array( 
    34                'currentapp' => 'expressoMail1_2', 
     
    56                'noheader'   => true 
    67        ); 
     8        require_once '../header.inc.php'; 
     9} 
    710 
    8         require_once $_SERVER[ 'DOCUMENT_ROOT' ] . '/header.inc.php'; 
    911        function ldapRebind($ldap_connection, $ldap_url) 
    1012        { 
Note: See TracChangeset for help on using the changeset viewer.