summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2006-05-30 12:12:28 +0000
committerxue <>2006-05-30 12:12:28 +0000
commit117813a0323e5669a2cd64598119fb81dd02e979 (patch)
treea41d2f740d14562f2e4ae909d412bdfaa4594505 /demos
parent90bc19ec007ede40268b5fe5df38fe29b1b0ece2 (diff)
Updated requirement for the blog.
Diffstat (limited to 'demos')
-rw-r--r--demos/blog/index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/blog/index.php b/demos/blog/index.php
index 43c0b436..88f798db 100644
--- a/demos/blog/index.php
+++ b/demos/blog/index.php
@@ -4,11 +4,16 @@ $basePath=dirname(__FILE__);
$frameworkPath=$basePath.'/../../framework/prado.php';
$assetsPath=$basePath.'/assets';
$runtimePath=$basePath.'/protected/runtime';
+$dataPath=$basePath.'/protected/Data';
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($dataPath))
+ die("Please make sure that the directory $dataPath is writable by Web server process.");
+if(!extension_loaded("sqlite"))
+ die("SQLite PHP extension is required.");
require_once($frameworkPath);