If you have something like $Foswiki::cfg{TemplatePath} = /my/path/$Foswiki::cfg{FooBar}/templates in your LocalSite.cfg, configure displays these path names correctly without expanding $Foswiki::cfg{FooBar}. Unfortunately, the checks it runs do not expand either so that they fail and configure falsely reports a number of errors.

-- KerstinPuschke - 12 Jan 2011

The 7 bootstrapped configuration directories ( ScriptDir, PubDir, DataDir, ToolsDir, TemplateDir, LocalesDir, and WorkingDir) that are initially guessed by configure don't have the code to allow them to be dependent upon other configuration variables. Some of them are processed very early in initialization before the configuration is fully initialized.

-- GeorgeClark - 12 Jan 2011

I added the code that allows them to be dependent - at least on settings delivered from LocalLib? .cfg - in Item10940. This code is non-invasive i.e. it only kicks in when embedded vars are actually used, so it addresses this report.

-- CrawfordCurrie - 06 Jul 2011

 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads