Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

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