diff options
-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(); |