summaryrefslogtreecommitdiff
path: root/demos/composer/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/composer/index.php')
-rw-r--r--demos/composer/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/composer/index.php b/demos/composer/index.php
index 04695b16..43c0b436 100644
--- a/demos/composer/index.php
+++ b/demos/composer/index.php
@@ -3,9 +3,12 @@
$basePath=dirname(__FILE__);
$frameworkPath=$basePath.'/../../framework/prado.php';
$assetsPath=$basePath.'/assets';
+$runtimePath=$basePath.'/protected/runtime';
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.");
require_once($frameworkPath);