summaryrefslogtreecommitdiff
path: root/http/index.php
blob: 1bb46ce920eacfee911632cbeae88b46e6b3d42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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();

?>