221 lines
6.6 KiB
PHP
221 lines
6.6 KiB
PHP
<?php
|
|
return [
|
|
'debug' => false,
|
|
|
|
'Release' => "2.6.08",
|
|
|
|
'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',
|
|
'importAppsDataFolder' => '/cut',
|
|
'importFasadDataFolder' => '/fasad',
|
|
'importAppsOrdersInfo' => '/out',
|
|
'sendManagerEmails' => '/to_send',
|
|
|
|
'acquiringOut' => '/supersamsev.ru/acquiring-in',
|
|
'acquiringIn' => '/supersamsev.ru/acquiring-out',
|
|
'acquiringRefund' => '/supersamsev.ru/refund',
|
|
|
|
'acquiring24Out' => '/supersam24.ru/acquiring-in',
|
|
'acquiring24In' => '/supersam24.ru/acquiring-out',
|
|
'acquiring24Refund' => '/supersam24.ru/refund',
|
|
|
|
'acquiringPrometeyOut' => '/prometeysev.ru/acquiring-in',
|
|
'acquiringPrometeyIn' => '/prometeysev.ru/acquiring-out',
|
|
'acquiringPrometeyRefund' => '/prometeysev.ru/refund',
|
|
|
|
],
|
|
|
|
'sberCheckParams' => [
|
|
'username' => 'data@mail.supersamsev.ru',
|
|
'password' => 'tigrissoro1',
|
|
'fromaddress' => 'sbbol@sberbank.ru',
|
|
'ftpOutFolder' => 'bank_sber'
|
|
],
|
|
|
|
'alfaCheckParams' => [
|
|
'username' => 'data@mail.supersamsev.ru',
|
|
'password' => 'tigrissoro1',
|
|
'fromaddress' => 'Messages@alfabank.ru',
|
|
'ftpOutFolder' => 'bank_alfa'
|
|
],
|
|
|
|
'elplat' => [
|
|
"apps.prometeysev.ru" => [
|
|
'login' => '1149204013925_1874',
|
|
"passwd" => '0d641c1ab1612f5283e1a8f890a37914',
|
|
"orgId" => '1874',
|
|
'apiUrl' => 'https://sbpekv2.el-plat.ru',
|
|
'elplatPhone' => '0079788382260',
|
|
],
|
|
"apps.supersam24.ru" => [
|
|
'login' => '317920400020202_2358',
|
|
"passwd" => 'c495cb4e306409c3d2f5388044bf7896',
|
|
"orgId" => '2358',
|
|
'apiUrl' => 'https://sbpekv2.el-plat.ru',
|
|
'elplatPhone' => '0079788382260',
|
|
],
|
|
"apps.supersamsev.ru" => [
|
|
'login' => '314920432100701_2401',
|
|
"passwd" => '936cdeccb6b181eb81b7799d7f081b9a',
|
|
"orgId" => '2401',
|
|
'apiUrl' => 'https://sbpekv2.el-plat.ru',
|
|
'elplatPhone' => '0079788382260',
|
|
]
|
|
],
|
|
'cloudPayments' => [
|
|
"apps.supersamsev.ru" => [
|
|
'paymentPublicId' => 'pk_d333b26f1184612a3f86c2dfe39db',
|
|
'apiKey' => 'e4c85e5d0e6990384bab39bce4c3f702',
|
|
'apiUrl' => 'https://api.cloudpayments.ru/'
|
|
],
|
|
"apps.supersam24.ru" => [
|
|
'paymentPublicId' => 'pk_9728ede44d3bde6a744acc4f0b682',
|
|
'apiKey' => '3a55f78c7058ca9fa3fe679772c83d16',
|
|
'apiUrl' => 'https://api.cloudpayments.ru/'
|
|
],
|
|
|
|
]
|
|
|
|
];
|