summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-19 16:05:04 +0200
committeremkael <emkael@tlen.pl>2016-04-19 16:05:04 +0200
commit7af427b95448ca84942cca13571615fae0184d4d (patch)
treecfa31e3bb8ff4eed585a50334cb3ef39a23c5ee4 /http
parentf4fe6aa543de23058a808c105a715e73d67c4748 (diff)
* entry script cleanup
Diffstat (limited to 'http')
-rw-r--r--http/index.php11
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);