diff options
author | xue <> | 2006-05-30 21:26:29 +0000 |
---|---|---|
committer | xue <> | 2006-05-30 21:26:29 +0000 |
commit | b87fd00a62994d24a3708cec5f5613ed2e9a67ed (patch) | |
tree | 175dae5b58cdbeaf8d66898483c15974495ca3fc /demos/blog/index.php | |
parent | 75f28186a995aa930f6db9f05ec7b63bbd2cd284 (diff) |
merge from 3.0 branch till 1111.
Diffstat (limited to 'demos/blog/index.php')
-rw-r--r-- | demos/blog/index.php | 5 |
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);
|