Skip to content

Config Reference Guide

Ryan Mills edited this page Apr 1, 2014 · 1 revision

Temporal uses "PHP Constants" to define various features and functions. Below you will find all the global config constants supported in your "/site/config.inc.php" file. These are only the Global options, individual modules and pages will have there own.

To set a constant use the following syntax:

define('A_CONTSTANT_NAME', 'avalue');

When writing a module/page use the following syntax to define a default constant:

if (!defined('A_CONTSTANT_NAME')) {
    define('A_CONTSTANT_NAME', 'avalue');
}

[TODO]

Clone this wiki locally