Changeset 3199 for branches/2.2/jabberit_messenger/controller.php
- Timestamp:
- 09/01/10 16:28:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/jabberit_messenger/controller.php
r3102 r3199 7 7 ); 8 8 } 9 9 10 require_once '../header.session.inc.php'; 10 11 … … 25 26 } 26 27 27 require_once dirname(__FILE__) . '/inc/Controller.class.php'; 28 if( file_exists(dirname(__FILE__) . "/inc/Controller.class.php") ) 29 { 30 require_once dirname(__FILE__) . '/inc/Controller.class.php'; 28 31 29 $controller = new Controller; 30 printf("%s", $controller->exec($$request_method)); 32 $controller = new Controller(); 33 printf("%s", $controller->exec($$request_method, dirname(__FILE__))); 34 exit(0); 35 } 31 36 32 exit(0);33 37 ?>
Note: See TracChangeset
for help on using the changeset viewer.