Browse Source

upgrade to new TS condition syntax

Olivier Massot 5 years ago
parent
commit
fff0390bf7
1 changed files with 6 additions and 2 deletions
  1. 6 2
      ot_templating/Configuration/TypoScript/setup.txt

+ 6 - 2
ot_templating/Configuration/TypoScript/setup.txt

@@ -1,7 +1,7 @@
 #### Configuration typoscript des sites
 
 # **** Options de debug ****
-[applicationContext = Development*]
+[applicationContext == Development*]
     config.debug = 1
     config.contentObjectExceptionHandler = 0
     config.no_cache = 1
@@ -11,11 +11,15 @@
     plugin.tx_vhs.settings.asset.debug = 0
 [end]
 
-[applicationContext = Testing*]
+[applicationContext == Testing*]
     config.debug = 1
     config.contentObjectExceptionHandler = 1
 [end]
 
+[applicationContext == Production*]
+    config.contentObjectExceptionHandler = 1
+[end]
+
 # **** Configuration générale ****
 
 config.language = fr