diff --git a/app/confg.php b/app/confg.php index 3e09afa..19564b8 100644 --- a/app/confg.php +++ b/app/confg.php @@ -15,6 +15,7 @@ define('PDFDIR', '/vhosts/anpdf/app/pub/files/pdf/'); define('PGDIR', '/vhosts/anpdf/app/pub/files/pages/'); define('VIEWPATH', SITEPATH.'views/'); define('API', 'http://api.argumenti.ru/'); +define('IMGSRV', 'https://imgurl.argumenti.ru/'); db_config('argumentiru', 'mysql:host=mysql;dbname=argumentiru', 'newser', 'Chjk90yuiREY'); db_config('reader', 'mysql:host=mysql;dbname=argumentiru', 'reader', 'ghjyjkUIOhg56Fh'); diff --git a/app/index.php b/app/index.php index bd3a9d9..308120d 100644 --- a/app/index.php +++ b/app/index.php @@ -1,14 +1,16 @@