blob: 4b7e8a5fd78342fd2b0d416b12c33ad721a0169b (
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/application.xml',APPLICATION_PATH.'/protected/Data/application.cache');
$application->run();
?>
|