<?php

$basePath = dirname(__FILE__);
$applicationPath = $basePath . '/../app/frontend/';
$libPath = $basePath . '/../lib/';
$frameworkPath = $libPath . 'prado/framework/prado.php';

require_once($frameworkPath);

Prado::setPathOfAlias('Web', $basePath);
Prado::setPathOfAlias('Lib', $libPath);

$application = new TApplication($applicationPath);
$application->run();

?>