Automad
 All Classes Functions Variables Pages
Automad\Core\Config Class Reference

Static Public Member Functions

static json ($file)
 
static set ($name, $value)
 

Detailed Description

The Config class.

Author
Marc Anton Dahmen hello.nosp@m.@mar.nosp@m.cdahm.nosp@m.en.d.nosp@m.e
License
MIT license - http://automad.org/license

Definition at line 52 of file config.php.

Member Function Documentation

static Automad\Core\Config::json (   $file)
static

Read configuration overrides form JSON file and set constants accordingly.

Definition at line 59 of file config.php.

static Automad\Core\Config::set (   $name,
  $value 
)
static

Define constant, if not defined already.

Parameters
string$name
string$value

Definition at line 77 of file config.php.


The documentation for this class was generated from the following file: