summaryrefslogtreecommitdiff
path: root/http/index.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-19 16:05:14 +0200
committeremkael <emkael@tlen.pl>2016-04-19 16:06:08 +0200
commitf3e8c1f081ac2cda737d4195f204a47143535ddb (patch)
tree349a863e8db8d40eb9dc5cc68900937bd7ba4684 /http/index.php
parent7af427b95448ca84942cca13571615fae0184d4d (diff)
* setting 'Web' alias path in entry script
Diffstat (limited to 'http/index.php')
-rw-r--r--http/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/http/index.php b/http/index.php
index c3aa6b8..f5e04d6 100644
--- a/http/index.php
+++ b/http/index.php
@@ -6,6 +6,8 @@ $applicationPath = $basePath . '/../app/php/';
require_once($frameworkPath);
+Prado::setPathOfAlias('Web', $basePath);
+
$application = new TApplication($applicationPath);
$application->run();