For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

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

Note

Files will only be looked for in the named table if the file does not exist in the PageDir directory.

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Saturday 1 July 2006 at 7:58 PM (CDT)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us