aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-02-23 22:55:06 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-03-01 10:49:16 +0100
commit32da2a70ef278bd42f66eb82c3fbf1905a417b87 (patch)
tree587ef3bae1f4881047eb1ceb0c005e7a8287bb71 /app/config/config.yml
parentfca3c757233940cbe4c431e3e05fe74893225fe0 (diff)
downloadwallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.gz
wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.zst
wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.zip
Add LiipThemeBundle
Re-defined the config / user relation to be OneToOne bidirectionnal. ConfigType is now a service so I can inject the list of available themes that are also used by LiipThemeBundle Force sqlite for test In case of people use a different driver in parameter.yml (yes I do :))
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 8e7258ea..1bd93d64 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -128,3 +128,24 @@ nelmio_cors:
128 allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] 128 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
129 max_age: 3600 129 max_age: 3600
130 hosts: ['^api\.'] 130 hosts: ['^api\.']
131
132liip_theme:
133 load_controllers: false
134 themes:
135 - baggy
136 - dark
137 - default
138 - dmagenta
139 - solarized
140 - solarized-dark
141 autodetect_theme: wallabag_core.helper.detect_active_theme
142
143 path_patterns:
144 app_resource:
145 - %%app_path%%/views/themes/%%current_theme%%/%%template%%
146 - %%app_path%%/views/%%template%%
147 bundle_resource:
148 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
149 bundle_resource_dir:
150 - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
151 - %%dir%%/views/%%bundle_name%%/%%override_path%%