summaryrefslogtreecommitdiff
path: root/http/index.php
blob: 5519aa6b1bc882e68f6add3c6ac85181f20d897f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

$basePath = dirname(__FILE__);
$applicationPath = $basePath . '/../app/php/';
$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();

?>