summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-19 14:00:07 +0200
committeremkael <emkael@tlen.pl>2016-04-19 14:00:07 +0200
commitf533a1d313eb2121c156bf7a25b338e686afa00b (patch)
treef1e0385043d42f1917d6b59ab21fdfc8ec7f60ba /app
parentd0acd8681d97c863b9b6fec9d286a0aa19abf61e (diff)
* moving assets to custom directory
Diffstat (limited to 'app')
-rw-r--r--app/php/application.xml3
-rw-r--r--app/php/caches.xml12
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>