FileDatabase
Specify the name of a table that contains pages, if the requested page is not
present in the PageDir directory.
Synopsis
|
FileDatabase table[:column]
|
The parameter is expected to be the name of a table.
Optionally, you may also specify a key column.
Scope
This directive is only available for use in the local
(catalog.cfg) configuration file.
It will not affect any other website in any way.
This directive will not work in the global
(interchange.cfg) configuration file.
Description
Interchange usually only looks for requested pages in the
PageDir directory, but can also look for pages
in a database table.
This directive's parameter is expected to be the name of a table that
has been configured into Interchange using the Database
directive.
You may also specify a key column.
The page name will be looked using table's key column.
If the key name is not specified then the value of the "LANG" global Variable will be used.
If a key column is not specified, and the LANG global
variable is not set then "default" will be used as the name
of the key column.
|
Note
Files will only be looked for in the named table if the file does
not exist in the PageDir directory.
|