This commit is contained in:
Your Name
2020-07-02 17:27:30 +03:00
parent 25a8c8c078
commit 4dfd676d95
8 changed files with 179 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<?php
ini_set('display_errors', 0);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
@@ -30,6 +30,17 @@ define('VIEWPATH', SITEPATH.'views/');
define('API', 'http://api.argumenti.ru/');
define('IMGSRV', 'https://imgurl.argumenti.ru/');
/** отправка уведомлений */
set('mail',
[
'login' => 'noreply@argumenti.ru',
'name' => 'Аргументы Недели',
'password'=>'eessoj8Let',
'port'=>465,
'host'=>'smtp.mail.ru',
'secure' => 'ssl'
]);
db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY');
db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'reader', 'ghjyjkUIOhg56Fh');