<?php /** * {$action_name}.php * * @author {$author} * @package Sample * @version $Id: 81711ee1e9b4205501c479697fe34b6a5187119f $ */ require_once '{$dir_app}/Sample_Controller.php'; Sample_Controller::main('Sample_Controller', '{$action_name}');
<?php error_reporting(E_ALL); require_once dirname(__FILE__) . '/../app/Sample_Controller.php'; Sample_Controller::main('Sample_Controller', array('__ethna_unittest__'));
<?php require_once dirname(__FILE__) . '/../app/Sample_Controller.php'; $_SERVER['URL_HANDLER'] = 'index'; /** * If you want to enable the UrlHandler, comment in following line, * and then you have to modify $action_map on app/Sample_UrlHandler.php . * */ // $_SERVER['URL_HANDLER'] = 'index'; /** * Run application. */ Sample_Controller::main('Sample_Controller', 'index', 'index');
<?php include_once "/home/vagrant/sample/app/Sample_Controller.php"; Sample_Controller::main('Sample_Controller', array('index', 'userlist'));
<?php require_once dirname(__FILE__) . '/../app/Sample_Controller.php'; Sample_Controller::main('Sample_Controller', array('__ethna_info__'));
<?php require_once dirname(__FILE__) . '/../app/Sample_Controller.php'; Sample_Controller::main_XMLRPC('Sample_Controller');