Class

ServerEnvironmentConfig

Package: PHPBoost\Config Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2017 06 11 Since: PHPBoost 3.0 - 2010 07 08 Contributor: Arnaud GENET elenwii@phpboost.com Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: janus57 janus57@janus57.fr Located at: phpboost/config/ServerEnvironmentConfig.class.php
AbstractConfigData implements ConfigData
Extended by ServerEnvironmentConfig
Methods summary
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public string[mixed]
# get_default_values( )

Returns a map associating to each property name the corresponding default value

public static ServerEnvironmentConfig
# load( )

Returns the configuration.

public static
# save( )

Saves the configuration in the database. Has it become persistent.

Constants summary
string URL_REWRITING_ENABLED
# 'url_rewriting_enabled'
string REDIRECTION_WWW_ENABLED
# 'redirection_www_enabled'
string REDIRECTION_WWW_MODE
# 'redirection_www_mode'
string REDIRECTION_WWW_WITH_WWW
# 'with_www'
string REDIRECTION_WWW_WITHOUT_WWW
# 'without_www'
string REDIRECTION_HTTPS_ENABLED
# 'redirection_https_enabled'
string HSTS_SECURITY_ENABLED
# 'hsts_security_enabled'
string HSTS_SECURITY_SUBDOMAIN_ENABLED
# 'hsts_security_subdomain_enabled'
string HSTS_SECURITY_DURATION
# 'hsts_security_duration'
string HTACCESS_MANUAL_CONTENT
# 'htaccess_manual_content'
string OUTPUT_GZIPING_ENABLED
# 'output_gziping_enabled'
Annonces