All pastes #88514 Raw Edit

Mine

public text v1 · immutable
·published 2006-07-15 01:37 UTC
rendered paste body

/**
 * @ignore
 */
define('__APP_PATH',	substr(__FILE__, 0, -strlen(basename(__FILE__))));
require __APP_PATH . 'lib/common.php';

/**
 * Zend_Controller_Router
 * 
 * @var $router
 */
$router = new Zend_Controller_RewriteRouter();
$router->setRewriteBase('/phpTicket/');
$router->addRoute('default', '', array('controller' => 'index', 'action' => 'index'));

/**
 * Zend_Controller
 */
$control = Zend_Controller_Front::getInstance();
$control->setRouter($router);
$control->setControllerDirectory(__APP_PATH . 'lib/controls/public');
$control->dispatch();