SID-01315: Access to the configuration via variables
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.12.4 |
| Category: |
CategoryAccessControl |
Server OS: |
Ubuntu 11.10 |
Last update: |
14 years ago |
is there a possibility to validate a value in the configuration like $TWiki::cfg{EnableEmail} in the pearl-files. I want to proof, if mail is anabled or not.
Thank you
Frank
--
FrankFauerbach - 2011-11-01
Discussion and Answer
Oh my god, i found it a few minutes after opening this thread. Sorry.
You can aceess the configuration over the displayed name, e.g. "{EnableEmail}" - without the quotes
--
FrankFauerbach - 2011-11-01
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.