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

define('APPLICATION_PATH',dirname(__FILE__));

if(!is_writable(APPLICATION_PATH.'/protected/Data'))
	die('Please make sure that the directory "'.APPLICATION_PATH.'/protected/Data'.'" is writable by Web server process.');
if(!is_writable(APPLICATION_PATH.'/assets'))
	die('Please make sure that the directory "'.APPLICATION_PATH.'/assets'.'" is writable by Web server process.');

require_once(APPLICATION_PATH.'/../../framework/prado.php');
$application=new TApplication(APPLICATION_PATH.'/protected/Data/application.xml');
$application->run();

?>