add readbook

This commit is contained in:
Andrey Kuvshinov
2020-05-24 17:10:45 +03:00
parent 02b7d3f8fa
commit d91466c5d9
4 changed files with 37 additions and 17 deletions

View File

@@ -12,10 +12,13 @@ if (isset($_SERVER['HTTP_HOST']))
else
define('SITEPATH', dirname(__FILE__));
if (SITE == 'http://klan.argumenti.ru/')
if (SITE == 'http://klan.argumenti.ru/'){
define('PDFSOURCE', '/vhosts/an/httpdocs/pub/files/pdf/pdf/');
else
define('PDFSOURCE', SITEPATH.'pub/source/');
define('HTMLSOURCE', '/vhosts/an/httpdocs/pub/files/html/');
}
else {
define('PDFSOURCE', SITEPATH.'pub/source/');
}
define('PDFPATH', '/pub/files/pdf/');
define('PGPATH', '/pub/files/pages/');