Configuration
All administrative configuration is performed in the file named
settings.xml. This is a simple XML file which defines a few things in
MachCMS.
database
This setting is currently not in use. Eventually when or if we have support for multiple databases this may change.
sqlite_dbpath
The relative path to where your dynamic data should be stored. By default this is data/data.sqlite.
Make sure it's writable by your web server!
template
The template MachCMS should be using. By default it uses the "Silver" template which comes with MachCMS,
Look in the templates folder for available options.
notFound
What to do if a page is not found. By default this is "create". This
default value creates a page in the database using default values. You
can then edit the page using the web editor by passing the ?edit
argument in the url.
Optionally it can be a page name. If it is, when a page is not found, MachCMS will redirect the user to that page.
password
The password needed before you can edit a page using the web editor.
It must be generated from the GenPass page.
linkType
What type of link system to use. By default this is rewrite. Below are the values explained.
- rewrite - Search engine friendly and highly recommended. This
value requires Apache with .htaccess enabled and mod_rewrite also
enabled.
- url - Uses get requests instead. This is for when the other option just cannot work and is highly discouraged.