Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
 
3
$basePath=dirname(__FILE__);
4
$frameworkPath='../../framework/prado.php';
5
$assetsPath=$basePath."/assets";
6
$runtimePath=$basePath."/protected/runtime";
7
 
8
if(!is_file($frameworkPath))
9
	die("Unable to find prado framework path $frameworkPath.");
10
if(!is_writable($assetsPath))
11
	die("Please make sure that the directory $assetsPath is writable by Web server process.");
12
if(!is_writable($runtimePath))
13
	die("Please make sure that the directory $runtimePath is writable by Web server process.");
14
 
15
require_once($frameworkPath);
16
 
17
$application=new TApplication;
18
$application->run();
19
 
20
?>