Class Configuration
Configuration class implementation.
- Core\Base\Configuration
-
Configurations\Production\Configuration
Direct known subclasses
Indirect known subclasses
Configurations\CI\Configuration
,
Configurations\Development\Configuration
Methods summary
Methods inherited from Core\Base\Configuration
__clone()
,
__construct()
,
getInstance()
,
mode()
,
modes()
,
modifyPath()
,
modifyURL()
,
paths()
,
setMode()
,
setupModes()
,
urls()
Properties summary
public
boolean[]
|
$ASSETS
$ASSETS Assets Management options flags. |
#
array(
'cache' => true,
'combine' => true,
'optimize' => true,
)
|
public
string[]
|
$ROUTER
$ROUTER Router related configuration options. |
#
array(
'rewrite' => true,
'separator' => '/',
'variables_prefix' => ':',
)
|
public
array
|
$CACHE
$CACHE Cache related configuration options. |
#
array(
'adapter' => 'FileSystem',
'routes' => true,
'labels' => true,
'db_schema' => true,
'database' => array(
'table_name' => 'cache',
'fields' => array(
'cache_key',
'value',
'expire',
),
),
'redis' => array(
'scheme' => 'tcp',
'host' => '127.0.0.1',
'port' => 6379,
'timeout' => 5.0,
),
)
|
public
(int|string)[]
|
$MAILER
$MAILER Mailer configuration options. |
#
array(
'type' => 'Sendmail',
'debug' => false,
'identity' => array(
'name' => 'Athlon Production',
'email' => 'hi@athlonproduction.com',
),
'credentials' => array(
'smtp' => array(
'host' => 'localhost',
'port' => '25',
'user' => '',
'password' => '',
),
),
)
|
public
string[]
|
$RENDER
$RENDER Render engine configuration. |
#
array(
'adapter' => 'Core\Modules\Render\Adapters\Smarty',
'options' => array(
'strip_white_space' => true,
),
)
|
public
(int|string)[]
|
$DB
$DB DSN (Data source name). |
#
array(
'adapter' => 'pdo_mysql',
'host' => '<DB_HOST>',
'port' => 3306,
'user' => '<DB_USER>',
'password' => '<DB_PASSWORD>',
'name' => '<DB_NAME>',
'tables_prefix' => '',
'encryption_key' => '25c6c7ff35bd13b0ff9979b151f2136c',
'crypt_vector' => 'dasn312321nssa1k',
)
|
public
(int|string)[]
|
$USER_AUTH
User cookie authentication data. |
#
array(
'cookie_name' => 'ath_login',
'cookie_salt' => 'dasxnq20934@*jaa!@sajx',
'cookie_expiration' => 604800,
)
|
public
string[]
|
$CAPTCHA
Captcha credentials. |
#
array(
'enabled' => true,
'public_key' => '6LfSevQSAAAAAHUbl-gTGwQHi4C9UW219V0Nn6J5',
'private_key' => '6LfSevQSAAAAAB6H3f9OznBVUGBp0iMMZWX2OSFH',
)
|
public
integer
|
$USER_MAX_LOGIN_ATT
Number of unsuccessful CMS user login attempts that block the user |
#
3
|
public
integer
|
$CAPTCHA_LOGIN_ATT
Number of unsuccessful CMS user login attempts before showing CAPTCHA |
#
2
|