add scripts

This commit is contained in:
Andrey Kuvshinov
2020-04-23 14:42:01 +03:00
parent 749a0b316f
commit 9dbe78fae1
5 changed files with 37 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<?php
ini_set('display_errors','off');
ini_set('display_errors','on');
error_reporting(E_ALL);
if (isset($_SERVER['HTTP_HOST']))
@@ -11,7 +11,8 @@ if (isset($_SERVER['HTTP_HOST']))
else
define('SITEPATH', dirname(__FILE__));
define('PDFDIR', '/vhosts/anpdf/app/pub/files/pdf/');
define('PDFDIR', '/vhosts/anpdf/app/pub/files/pdf/');
define('API', 'http://api.argumenti.ru/');
db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY');
db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'reader', 'ghjyjkUIOhg56Fh');