Ignore:
Timestamp:
06/17/08 14:43:30 (16 years ago)
Author:
niltonneto
Message:

Versionamento feito pelo desenvolvedor (jakjr).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/controller.php

    r2 r317  
    2121        else 
    2222                return $_SESSION['response'] = 'false'; 
    23          
     23                 
    2424        // Load dinamically class file. 
    2525        if($app == '$this') 
    2626                $filename = 'inc/class.'.$class.'.inc.php'; 
     27        else if( strpos($app, '$this/') !== false) 
     28        { 
     29                $filename = str_replace('$this/','',$app) . '.php'; 
     30                include_once($filename); 
     31                exit; 
     32        } 
    2733        else 
    2834                $filename = '../'.$app.'/inc/class.'.$class.'.inc.php'; 
    2935                 
    30         include_once($filename);         
     36        include_once($filename); 
    3137         
    3238        // Create new Object  (class loaded).    
Note: See TracChangeset for help on using the changeset viewer.