Вход Регистрация
Файл: adultscript-2.0.3-pro/CDN.txt
Строк: 69
- CDN_URL used for template js/css/images (basically this is the same,
however if separate server is defined or cdn, the TPL_REL constant will
have the value defined for separate server/cdn). - THUMB_URL used for
video thumbs (by default this is RELATIVE_URL.'/media/videos/tmb/, if you
use a separate server or CDN this constant will change). FTP credentials
can be configured in admin (thumbs will be automatically uploaded to
separate server/CDN, or deleted when the delete command is issued). -
PHOTO_URL used for photos (by default this is RELATIVE_URL.'/media/photos/,
if you use a separate server or CDN this constant will change). FTP the
same as for THUMB_URL. - MODEL_URL used for model images (by default this
is RELATIVE_URL.'/media/pornstars/, if you use a separate server or CDN
this constant will change). FTP the same as for THUMB_URL. There are 3
posibilities: 1. No CDN and no separate servers (basically all the urls
remain the ABSOLUTE ones to the current domain). 2. Separate server for
images (in this case the credentials for FTP to upload images can be
configured from admin and the urls can be defined in a file (urls cant be
defined in admin, because this would slow things down, if you already have
enough content/visitors that you need separate servers for images, you can
modify a file or someone to do it for you) 3. CDN server, now there are
more than one way to get your files on the CDN server, however we will use
FTP as its the most common one (so basically all that is explained at 2
will also work). If you use CDN you will need to include a new file
(file is written and has documentation) and also add settings for FTP in
admin.
Онлайн: 0
Реклама