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

$basePath=dirname(__FILE__);
$frameworkPath=$basePath.'/../../framework/prado.php';
$configPath=$basePath.'/protected/application.xml';
$assetsPath=$basePath.'/assets';

if(!is_writable($assetsPath))
	die("Please make sure that the directory $assetsPath is writable by Web server process.");

require_once($frameworkPath);

$application=new TApplication($configPath,true);
$application->run();

?>