Tags:
create new tag
view all tags

SID-01315: Access to the configuration via variables

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Access to the configuration via variables
SupportCategory CategoryAccessControl
TWiki version 5.1.0
Server OS Ubuntu 11.10
Web server Apache2
Perl version 5.12.4
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-11-01 - FrankFauerbach
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.