Esempio n. 1
0
<?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}');
Esempio n. 2
0
<?php

error_reporting(E_ALL);
require_once dirname(__FILE__) . '/../app/Sample_Controller.php';
Sample_Controller::main('Sample_Controller', array('__ethna_unittest__'));
Esempio n. 3
0
<?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');
Esempio n. 4
0
<?php

include_once "/home/vagrant/sample/app/Sample_Controller.php";
Sample_Controller::main('Sample_Controller', array('index', 'userlist'));
Esempio n. 5
0
<?php

require_once dirname(__FILE__) . '/../app/Sample_Controller.php';
Sample_Controller::main('Sample_Controller', array('__ethna_info__'));
Esempio n. 6
0
<?php

require_once dirname(__FILE__) . '/../app/Sample_Controller.php';
Sample_Controller::main_XMLRPC('Sample_Controller');