diff options
author | emkael <emkael@tlen.pl> | 2016-04-19 16:05:14 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-04-19 16:06:08 +0200 |
commit | f3e8c1f081ac2cda737d4195f204a47143535ddb (patch) | |
tree | 349a863e8db8d40eb9dc5cc68900937bd7ba4684 | |
parent | 7af427b95448ca84942cca13571615fae0184d4d (diff) |
* setting 'Web' alias path in entry script
-rw-r--r-- | app/php/caches.xml | 3 | ||||
-rw-r--r-- | http/index.php | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/php/caches.xml b/app/php/caches.xml index af2fd92..90e3e35 100644 --- a/app/php/caches.xml +++ b/app/php/caches.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> - <paths> - <alias id="Web" path="../../http/" /> - </paths> <modules> <module id="cache" class="System.Caching.TDbCache" /> <module id="asset" class="System.Web.TAssetManager" 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(); |