Skip to content

Commit b79d933

Browse files
committed
[TASK] New typoscript conditions > fixes Startpiloten#92
1 parent 4f2df82 commit b79d933

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Configuration/TypoScript/config/config.typoscript

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ config {
3838
}
3939

4040
## Disable Cache when logged in BE
41-
[globalVar = TSFE:beUserLogin > 0]
41+
[getTSFE().beUserLogin]
4242
config {
4343
no_cache = 1
4444
sendCacheHeaders = 0
4545
cache_period = 0
4646
}
47-
[global]
47+
[END]
4848

4949
###
5050
## applicationContext
@@ -57,4 +57,4 @@ config {
5757
concatenateJs = 0
5858
inlineStyle2TempFile = 0
5959
}
60-
[end]
60+
[END]

Configuration/TypoScript/page/page.typoscript

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ page {
113113
}
114114
[END]
115115

116-
[globalVar = TSFE : beUserLogin > 0] || [applicationContext = Development*]
116+
[getTSFE().beUserLogin] || [applicationContext = Development*]
117117
// show some debug infos in <head>
118118
page.headerData.666999 = TEXT
119119
page.headerData.666999 {

0 commit comments

Comments
 (0)