Changeset 2032


Ignore:
Timestamp:
02/19/10 15:39:29 (14 years ago)
Author:
amuller
Message:

Ticket #911 - correção para adequar do em

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/controller.php

    r2030 r2032  
    3434        if($app == '$this') 
    3535                $app = $_SESSION['phpgw_info']['expresso']['currentapp']; 
    36         else if( strpos($app, '$this/') !== false ) 
     36        else 
     37        if( strpos($app, '$this/') == 0 ) 
    3738        { 
    3839                $filename = str_replace('$this/','',$app) . '.php'; 
    39                 include_once($filename); 
     40                include_once($filename); 
    4041                exit; 
    4142        } 
    42         else 
    43                 $filename = $app.'/inc/class.'.$class.'.inc.php'; 
     43        $filename = $app.'/inc/class.'.$class.'.inc.php'; 
    4444 
    4545        include_once($filename); 
Note: See TracChangeset for help on using the changeset viewer.