diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/php/application.xml | 3 | ||||
-rw-r--r-- | app/php/caches.xml | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/app/php/application.xml b/app/php/application.xml index ebe1955..a56206c 100644 --- a/app/php/application.xml +++ b/app/php/application.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <application id="http" mode="Debug"> + <include file="Application.caches" /> + <include file="Application.db.config" /> <include file="Application.model.config" /> <include file="Application.facades.config" /> @@ -13,7 +15,6 @@ <include file="Application.controls.config" /> <modules> - <module id="cache" class="System.Caching.TDbCache" /> <!-- <module id="log" class="System.Util.TLogRouter"> <route class="TBrowserLogRoute" Levels="Debug" diff --git a/app/php/caches.xml b/app/php/caches.xml new file mode 100644 index 0000000..af2fd92 --- /dev/null +++ b/app/php/caches.xml @@ -0,0 +1,12 @@ +<?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" + BasePath="Web._assets" + BaseUrl="_assets" /> + </modules> +</configuration> |