lib/config.php:
<?php
function createView( ezcMvcRoutingInformation $routeInfo, ezcMvcRequest $request, ezcMvcResult $result )
{
switch ( $routeInfo->matchedRoute )
{
case '/':
$view->contentTemplate = 'home.ezt'; break;
case '/register/submit':
$view->contentTemplate = 'register-submit.ezt'; break;
case '/register':
$view->contentTemplate = 'register.ezt'; break;
case '/login-required':
$view->contentTemplate = 'login.ezt'; break;
}
}
?>