From 117813a0323e5669a2cd64598119fb81dd02e979 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 30 May 2006 12:12:28 +0000 Subject: Updated requirement for the blog. --- demos/blog/index.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'demos/blog/index.php') 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); -- cgit v1.2.3