diff options
-rw-r--r-- | http/index.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/http/index.php b/http/index.php index 24743f8..c3aa6b8 100644 --- a/http/index.php +++ b/http/index.php @@ -1,19 +1,8 @@ <?php -// The following directory checks may be removed if performance is required $basePath = dirname(__FILE__); $frameworkPath = $basePath . '/../lib/prado/framework/prado.php'; -$assetsPath = $basePath . '/_assets/'; $applicationPath = $basePath . '/../app/php/'; -$runtimePath = $basePath . '/../cache/prado/'; - -if(!is_file($frameworkPath)) - die("Unable to find prado framework path $frameworkPath."); -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); |