[TYPO3-core] RFC: #10040: define Default GET-vars

Steffen Ritter info at rs-websystems.de
Thu Aug 27 20:50:54 CEST 2009


Steffen Kamper schrieb:
> Hi,
> 
> for any reason my last message didn't recieved this list, so here again:
> 
> 1) i renamed the property now to defaultGetVars as Benni and Michael
> suggested
> 2) i got answer from security team that there are no concerns with this
> patch
> 3) updated example:
> 
> config.defaultgetVars {
>     test.var1.var2.p3 = 15
>     L = 1
>     tx_ttnews.tt_news.backpid = 14
> }
> 
> 4) Documentation
> 
> Property: defaultgetVars
> Data type: array
> Description:
> Allows to set default values for GET parameters. Default value is taken
> if the GET parameter isn't present only.
> Array notation is done with dots, eg:
> test[var1] will be written as text.var1
> 
> Example:
> config.defaultgetVars {
>     test.var1.var2.p3 = 15
>     L = 1
>     tx_ttnews.tt_news.backpid = 14
> }
> 
> vg Steffen
> 
+1 by reading :)

great improvement, I always hardcode such at localconf...


More information about the TYPO3-team-core mailing list