summaryrefslogtreecommitdiff
path: root/demos/time-tracker/index.php
diff options
context:
space:
mode:
authorwei <>2007-05-14 02:51:03 +0000
committerwei <>2007-05-14 02:51:03 +0000
commit1ae178334023d36a224b06c371a47a5c3e0aad3d (patch)
tree49f2ca7c95bbcf9985c2e7a07e1f8857c51039c9 /demos/time-tracker/index.php
parentc48862a7bc618045673dfe80a16f9423a281cb4c (diff)
remove unfinished docs.
Diffstat (limited to 'demos/time-tracker/index.php')
-rw-r--r--demos/time-tracker/index.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/demos/time-tracker/index.php b/demos/time-tracker/index.php
index 9a03ed65..7954aeb9 100644
--- a/demos/time-tracker/index.php
+++ b/demos/time-tracker/index.php
@@ -6,7 +6,8 @@ $frameworkPath='../../framework/prado.php';
$assetsPath=$basePath."/assets";
$runtimePath=$basePath."/protected/runtime";
-$sqliteDbDir = $basePath."/protected/App_Data/SQLite";
+$sqlite_dir = $basePath."/protected/App_Data/SQLite";
+$sqlite_db = $sqlite_dir.'/time-tracker.db';
if(!is_file($frameworkPath))
die("Unable to find prado framework path $frameworkPath.");
@@ -14,8 +15,10 @@ 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.");
+if(!is_writable($sqlite_dir))
+ die("Please make sure that the directory $sqlite_dir is writable by Web server process.");
+if(!is_writable($sqlite_db))
+ die("Please make sure that the sqlite database file $sqlite_dir is writable by Web server process.");
require_once($frameworkPath);