consult
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('display_errors', 0);
|
||||
ini_set('display_startup_errors', 0);
|
||||
|
||||
|
||||
@@ -10,28 +10,28 @@ if (isset($_SERVER['HTTP_HOST']))
|
||||
if (isset($_SERVER['HTTP_HOST']))
|
||||
define('SITEPATH', $_SERVER['DOCUMENT_ROOT'].'/');
|
||||
else
|
||||
define('SITEPATH', dirname(__FILE__));
|
||||
|
||||
define('SITEPATH', dirname(__FILE__));
|
||||
|
||||
if (SITE == 'http://klan.argumenti.ru/'){
|
||||
define('PDFSOURCE', '/vhosts/an/httpdocs/pub/files/pdf/pdf/');
|
||||
define('HTMLSOURCE', '/vhosts/an/httpdocs/pub/files/html/');
|
||||
}
|
||||
}
|
||||
else {
|
||||
define('PDFSOURCE', SITEPATH.'pub/source/');
|
||||
}
|
||||
define('PDFSOURCE', SITEPATH.'pub/source/');
|
||||
}
|
||||
|
||||
define('PDFPATH', '/pub/files/pdf/');
|
||||
define('PGPATH', '/pub/files/pages/');
|
||||
define('PGPATH', '/pub/files/pages/');
|
||||
define('PDFDIR', SITEPATH.PDFPATH);
|
||||
define('PGDIR', SITEPATH.PGPATH);
|
||||
|
||||
define('APPPATH', SITEPATH);
|
||||
define('VIEWPATH', SITEPATH.'views/');
|
||||
define('API', 'http://api.argumenti.ru/');
|
||||
define('API', 'http://api.argumenti.ru/');
|
||||
define('IMGSRV', 'https://imgurl.argumenti.ru/');
|
||||
|
||||
/** отправка уведомлений */
|
||||
set('mail',
|
||||
set('mail',
|
||||
[
|
||||
'login' => 'noreply@argumenti.ru',
|
||||
'name' => 'Аргументы Недели',
|
||||
|
||||
Reference in New Issue
Block a user