[ic] FW: [interchange] Fix parsing TemplateDir at startup with multiple dirson one line (RT# 318)
Gert van der Spoel
gert at 3edge.com
Sun Mar 27 12:24:29 UTC 2011
> commit 29b7e509a3febc84d809f7b93772f1ceb17ab73a
> Author: Gert van der Spoel <gert at 3edge.com>
> Date: Sun Mar 27 14:16:36 2011 +0200
> Fix parsing TemplateDir at startup with multiple dirs on one line (RT#
> When TemplateDir was defined like:
> TemplateDir /path/to/dir /path/to/dir2
> this was not being parsed correctly. This has now been resolved.
> Thanks to Mat Jones for the report.
The docs could do with some additional information ...
The directive expects an absolute path.
In interchange.cfg for example:
TemplateDir /path/to/shared/dir /path/to/shared/dir2
This applies to all sites defined under this Interchange install.
In catalog.cfg for example:
TemplateDir ./path/to/shared/dir ./path/to/shared/dir2
You could use this to for example 'override' a file that is shared and not
have it in your pages directory.
It is also possible to use an absolute path in your local TemplateDir
however this requires that the global NoAbsolute directive is set to No
(which is the default).
In case you run a multi-user environment you should have NoAbsolute set to
Yes and not use absolute paths in the TemplateDir directive.
More information about the interchange-users