PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/config/templates/config.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/config/templates/config.twig  >  Download  
File: src/Cabin/Bridge/config/templates/config.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 1 year ago
Size: 1,144 bytes
 

Contents

Class file image Download
{
    "board": {
        "enabled": {{ config['board']['enabled'] ? 'true' : 'false' }},
        "captcha": {{ config['board']['captcha'] ? 'true' : 'false' }}
    },
    "editor": {
        "default-format": {{ config['editor']['default-format']|je }}
    },
    "file": {
        "cache": {{ config['file']['cache'] }}
    },
    "password-reset": {
        "enabled": {{ config['password-reset']['enabled'] ? 'true' : 'false' }},
        "logout": {{ config['password-reset']['logout'] ? 'true' : 'false' }},
        "ttl": {{ config['password-reset']['ttl']|je }}
    },
    "recaptcha": {
        "secret-key": {{ config['recaptcha']['secret-key']|je }},
        "site-key": {{ config['recaptcha']['site-key']|je }}
    },
    "two-factor": {
        "issuer": {{ config['two-factor']['issuer']|default("")|je }},
        "label": {{ config['two-factor']['label']|default("")|je }},
        "length": {{ config['two-factor']['length']|default(6)|je }},
        "period": {{ config['two-factor']['period']|default(30)|je }},
    },
    "user-directory": {
        "per-page": {{ config['user-directory']['per-page'|default(20)|je }}
    }
}