From 1ae178334023d36a224b06c371a47a5c3e0aad3d Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 14 May 2007 02:51:03 +0000 Subject: remove unfinished docs. --- demos/time-tracker/index.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'demos/time-tracker/index.php') 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); -- cgit v1.2.3