Changeset 2812 for trunk/controller.php


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

File:
1 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         
Note: See TracChangeset for help on using the changeset viewer.