Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Package =TWiki::Configure::Load
Purpose
This module consists of just a single subroutine
On this page:
StaticMethod readConfig ()
In normal TWiki operations as a web server this routine is called by the
Note that this method is called by TWiki and configure, and only reads TWiki.spec= to get defaults. Other spec files (those for extensions) are not read.
The assumption is that
StaticMethod expandValue ($string) -> $booleanExpands references to TWiki configuration items which occur in the value of other configuration items. Use expand($hashref) if the item is not a plain scalar. Happens to return true if something has been expanded, though I don't know whether you would want that. The replacement is done in-place,
StaticMethod readDefaults () -> \@errors
This is only called by
Normally all configuration values come from LocalSite.cfg. However when
Returns a reference to a list of the errors it saw. SEE ALSO: TWiki::Configure::TWikiCfg::load |