1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
<?php
/**
* Development Configuration class.
*
* @package Silla.IO
* @subpackage Configurations\Development
* @author Plamen Nikolov <plamen@athlonsofia.com>
* @copyright Copyright (c) 2015, Silla.io
* @license http://opensource.org/licenses/GPL-3.0 GNU General Public License, version 3.0 (GPLv3)
*/
namespace Configurations\Development;
use Configurations;
/**
* Configuration class implementation.
*/
class Configuration extends Configurations\Staging\Configuration
{
/**
* @var boolean[] $ASSETS Assets Management options flags.
*
* @example cache Whether to cache all assets groups on the file system.
* @example combine Whether to combine all assets groups in one file.
* @example optimize Whether to minify assets.
*/
public $ASSETS = array(
'cache' => false,
'combine' => false,
'optimize' => false,
);
/**
* @var array $CACHE Cache related configuration options.
*
* @example adapter Caching adapter name.
* @example routes Whether to cache Routing routes.
* @example labels Whether to cache Localisation labels.
* @example db_schema Whether to cache Database Entity tables schemas.
* @example database Database cache adapter database schema.
* @example redis Redis cache adapter connection parameters.
*/
public $CACHE = array(
'adapter' => 'FileSystem',
'routes' => false,
'labels' => false,
'db_schema' => false,
'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,
),
);
/**
* @var string[] $RENDER Render engine configuration.
*
* @example adapter Render adapter name.
*/
public $RENDER = array(
'adapter' => 'Core\Modules\Render\Adapters\Smarty',
'options' => array(
'strip_white_space' => false,
),
);
/**
* @var (int|string)[] $MAILER Mailer configuration options.
*
* @example type Type of the mailing infrastructure to use(Sendmail|SMTP).
* @example identity Mailer identity signature.
* @example credentials Mailer service credentials.
*/
public $MAILER = array(
'type' => 'Sendmail',
'debug' => true,
'identity' => array(
'name' => 'Athlon Production',
'email' => 'hi@athlonproduction.com',
),
'credentials' => array(
'smtp' => array(
'host' => 'localhost',
'port' => '25',
'user' => '',
'password' => '',
),
),
);
/**
* @var (int|string)[] $DB DSN (Data source name).
*
* @example adapter Adapter type (pdo_mysql|mysql|sqllite).
* @example host Connection host name.
* @example port Connection host port.
* @example user User name.
* @example password Password phrase.
* @example name Database name.
* @example tables_prefix Storage tables prefix.
* @example encryption_key Database encryption key.
* @example crypt_vector Initialization Vector value.
*/
public $DB = 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',
);
/**
* @var string[] Captcha credentials.
*
* @example enabled Flag whether to use Captcha or Not.
* @example public_key Public key for Captcha.
* @example private_key Private key for Captcha.
*
* @link https://www.google.com/recaptcha/
*/
public $CAPTCHA = array(
'enabled' => true,
'public_key' => '6LfSevQSAAAAAHUbl-gTGwQHi4C9UW219V0Nn6J5',
'private_key' => '6LfSevQSAAAAAB6H3f9OznBVUGBp0iMMZWX2OSFH',
);
}