Changeset 317 for trunk/expressoAdmin1_2/controller.php
- Timestamp:
- 06/17/08 14:43:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/controller.php
r2 r317 21 21 else 22 22 return $_SESSION['response'] = 'false'; 23 23 24 24 // Load dinamically class file. 25 25 if($app == '$this') 26 26 $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 } 27 33 else 28 34 $filename = '../'.$app.'/inc/class.'.$class.'.inc.php'; 29 35 30 include_once($filename); 36 include_once($filename); 31 37 32 38 // Create new Object (class loaded).
Note: See TracChangeset
for help on using the changeset viewer.