summaryrefslogtreecommitdiff
path: root/demos/time-tracker/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/time-tracker/index.php')
-rw-r--r--demos/time-tracker/index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/demos/time-tracker/index.php b/demos/time-tracker/index.php
index 69e6b5c5..ec14639e 100644
--- a/demos/time-tracker/index.php
+++ b/demos/time-tracker/index.php
@@ -1,16 +1,21 @@
<?php
$basePath=dirname(__FILE__);
-$frameworkPath='../../framework/pradolite.php';
+//$frameworkPath='../../framework/pradolite.php';
+$frameworkPath='../../framework/prado.php';
$assetsPath=$basePath."/assets";
$runtimePath=$basePath."/protected/runtime";
+$sqliteDbDir = $basePath."/protected/App_Data/Sqlite";
+
if(!is_file($frameworkPath))
die("Unable to find prado framework path $frameworkPath.");
if(!is_writable($assetsPath))
die("Please make sure that the directory $assetsPath is writable by Web server process.");
if(!is_writable($runtimePath))
die("Please make sure that the directory $runtimePath is writable by Web server process.");
+if(!is_writable($sqliteDbDir))
+ die("Please make sure that the directory $sqliteDbDir is writable by Web server process.");
require_once($frameworkPath);