Beispiel #1
0
<?php

require_once '{$dir_app}/Example_Controller.php';
Example_Controller::main('Example_Controller', '{$action_name}');
Beispiel #2
0
<?php

require_once dirname(__FILE__) . '/../app/Example_Controller.php';
/**
 * If you want to enable the UrlHandler, comment in following line,
 * and then you have to modify $action_map on app/Example_UrlHandler.php .
 *
 */
// $_SERVER['URL_HANDLER'] = 'index';
/**
 * Run application.
 */
Example_Controller::main('Example_Controller', 'index');