Changeset 2812


Ignore:
Timestamp:
05/18/10 16:47:41 (14 years ago)
Author:
amuller
Message:

Ticket #911 - Diminuindo a parte de código que inicia a sessão

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/controller.php

    r2481 r2812  
    1414                $GLOBALS['phpgw_info']['flags'] = array( 
    1515                        'nonavbar'   => true, 
    16                         'currentapp' => $_SESSION['phpgw_info']['expresso']['currentapp'], 
    1716                        'noheader'   => true 
    1817                ); 
    1918        } 
    20         require_once './header.session.inc.php'; 
    2119 
    2220        //      Explode action from cExecuteForm function 
     
    3937                list($app,$class,$method) = explode('.',@$_GET['action']); 
    4038        // NO ACTION 
    41         else 
     39        else{ 
     40                require_once './header.session.inc.php'; 
    4241                return $_SESSION['response'] = 'Post-Content-Length'; 
     42        } 
    4343 
    4444        // Load dinamically class file. 
     
    7575 
    7676        // Create new Object  (class loaded).    
     77        require_once './header.session.inc.php'; 
    7778        $obj = new $class; 
    7879         
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r2806 r2812  
    5959                $this->session_id = $_SESSION[ 'phpgw_session' ][ 'session_id' ]; 
    6060 
     61        } 
     62        function imap_functions (){ 
    6163                session_write_close(); 
    62         } 
    63         function imap_functions (){ 
    6464                $this->load_session_vars(); 
    6565                $this->functions          = new functions(); 
     
    20012001                $mail->Subject = $subject; 
    20022002                $mail->IsHTML($params['type'] != 'textplain'); 
     2003 
    20032004                $mail->Body = $body; 
    20042005 
Note: See TracChangeset for help on using the changeset viewer.