155 lines
4.3 KiB
PHP
155 lines
4.3 KiB
PHP
<?php
|
|||
|
|
return [
|
||
|
|
'debug' => false,
|
||
|
|
|
||
|
|
'Release' => "2.4.165",
|
||
|
|
|
||
|
|
'App' => [
|
||
|
|
'namespace' => 'App',
|
||
|
|
'encoding' => env('APP_ENCODING', 'UTF-8'),
|
||
|
|
'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'),
|
||
|
|
'defaultTimezone' => env('APP_DEFAULT_TIMEZONE', 'UTC'),
|
||
|
|
'base' => false,
|
||
|
|
'dir' => 'src',
|
||
|
|
'webroot' => 'webroot',
|
||
|
|
'wwwRoot' => WWW_ROOT,
|
||
|
|
'imageBaseUrl' => 'img/',
|
||
|
|
'cssBaseUrl' => 'css/',
|
||
|
|
'jsBaseUrl' => 'js/',
|
||
|
|
'paths' => [
|
||
|
|
'plugins' => [ROOT . DS . 'plugins' . DS],
|
||
|
|
'templates' => [APP . 'Template' . DS],
|
||
|
|
'locales' => [APP . 'Locale' . DS],
|
||
|
|
],
|
||
|
|
],
|
||
|
|
|
||
|
|
'Security' => [
|
||
|
|
'salt' => env('SECURITY_SALT', '2ae8d3f453c9f6a290a2fcdb173be1cf4acc871c6e656411c82aa331bbfefc18'),
|
||
|
|
],
|
||
|
|
|
||
|
|
'Asset' => [
|
||
|
|
// 'timestamp' => true,
|
||
|
|
],
|
||
|
|
|
||
|
|
'Cache' => [
|
||
|
|
'default' => [
|
||
|
|
'className' => 'File',
|
||
|
|
'path' => CACHE,
|
||
|
|
'url' => env('CACHE_DEFAULT_URL', null),
|
||
|
|
],
|
||
|
|
|
||
|
|
'_cake_core_' => [
|
||
|
|
'className' => 'File',
|
||
|
|
'prefix' => 'myapp_cake_core_',
|
||
|
|
'path' => CACHE . 'persistent/',
|
||
|
|
'serialize' => true,
|
||
|
|
'duration' => '+1 years',
|
||
|
|
'url' => env('CACHE_CAKECORE_URL', null),
|
||
|
|
],
|
||
|
|
|
||
|
|
'_cake_model_' => [
|
||
|
|
'className' => 'File',
|
||
|
|
'prefix' => 'myapp_cake_model_',
|
||
|
|
'path' => CACHE . 'models/',
|
||
|
|
'serialize' => true,
|
||
|
|
'duration' => '+1 years',
|
||
|
|
'url' => env('CACHE_CAKEMODEL_URL', null),
|
||
|
|
],
|
||
|
|
],
|
||
|
|
|
||
|
|
|
||
|
|
'Error' => [
|
||
|
|
'errorLevel' => E_ALL,
|
||
|
|
'exceptionRenderer' => 'Cake\Error\ExceptionRenderer',
|
||
|
|
'skipLog' => [],
|
||
|
|
'log' => true,
|
||
|
|
'trace' => true,
|
||
|
|
],
|
||
|
|
|
||
|
|
|
||
|
|
'Datasources' => [
|
||
|
|
'default' => [
|
||
|
|
'className' => 'Cake\Database\Connection',
|
||
|
|
'driver' => 'Cake\Database\Driver\Mysql',
|
||
|
|
'persistent' => false,
|
||
|
|
'host' => 'localhost',
|
||
|
|
|
||
|
|
'username' => 'supersam_apps',
|
||
|
|
'password' => 'Ft8wV%e3Fre#ZaH-nJ',
|
||
|
|
'database' => 'supersam_apps',
|
||
|
|
'encoding' => 'utf8',
|
||
|
|
'timezone' => 'UTC',
|
||
|
|
'flags' => [],
|
||
|
|
'cacheMetadata' => true,
|
||
|
|
'log' => false,
|
||
|
|
|
||
|
|
'quoteIdentifiers' => true,
|
||
|
|
'url' => env('DATABASE_URL', null),
|
||
|
|
],
|
||
|
|
],
|
||
|
|
|
||
|
|
'Log' => [
|
||
|
|
'debug' => [
|
||
|
|
'className' => 'Cake\Log\Engine\FileLog',
|
||
|
|
'path' => LOGS,
|
||
|
|
'file' => 'debug',
|
||
|
|
'url' => env('LOG_DEBUG_URL', null),
|
||
|
|
'scopes' => false,
|
||
|
|
'levels' => ['notice', 'info', 'debug'],
|
||
|
|
],
|
||
|
|
'error' => [
|
||
|
|
'className' => 'Cake\Log\Engine\FileLog',
|
||
|
|
'path' => LOGS,
|
||
|
|
'file' => 'error',
|
||
|
|
'url' => env('LOG_ERROR_URL', null),
|
||
|
|
'scopes' => false,
|
||
|
|
'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
|
||
|
|
],
|
||
|
|
'queries' => [
|
||
|
|
'className' => 'Cake\Log\Engine\FileLog',
|
||
|
|
'path' => LOGS,
|
||
|
|
'file' => 'queries',
|
||
|
|
'url' => env('LOG_QUERIES_URL', null),
|
||
|
|
'scopes' => ['queriesLog'],
|
||
|
|
],
|
||
|
|
],
|
||
|
|
|
||
|
|
'Session' => [
|
||
|
|
'defaults' => 'php',
|
||
|
|
'ini' => [
|
||
|
|
'session.cookie_lifetime' => 18*60*60, //18h
|
||
|
|
'session.cookie_httponly' => true
|
||
|
|
],
|
||
|
|
'timeout' => 12 * 60 //12h
|
||
|
|
],
|
||
|
|
|
||
|
|
'mpdfPageParams' => [
|
||
|
|
'mode' => 'utf-8',
|
||
|
|
'format' => 'A4',
|
||
|
|
'default_font_size' => 0,
|
||
|
|
'default_font' => 'arial',
|
||
|
|
'margin_left' => 15,
|
||
|
|
'margin_right' => 15,
|
||
|
|
'margin_top' => 17,
|
||
|
|
'margin_bottom' => 30
|
||
|
|
],
|
||
|
|
'smsMinimalBalance' => 50,
|
||
|
|
|
||
|
|
"encrypt" => [
|
||
|
|
"key" => 'fsjlksf$#%WEtfvV34v59fHgi3rs0gBB<T58903--.we8934W$w3',
|
||
|
|
"cipher" => "AES-128-CBC",
|
||
|
|
"options" => OPENSSL_RAW_DATA,
|
||
|
|
"as_binary" => true
|
||
|
|
],
|
||
|
|
|
||
|
|
'ftpParams' => [
|
||
|
|
'ip' => '188.191.27.165',
|
||
|
|
'port' => 53530,
|
||
|
|
'username' => 'soronorus',
|
||
|
|
'password' => '5#NqtYB;XOC;!wAtp',
|
||
|
|
|
||
|
|
'acquiring24Out' => '/supersam24.ru/acquiring-in',
|
||
|
|
'acquiring24In' => '/supersam24.ru/acquiring-out',
|
||
|
|
'acquiring24Refund' => '/supersam24.ru/refund',
|
||
|
|
]
|
||
|
|
];
|