X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fsettings.php;h=c06b92dff57d706ccc60fd51318821e7d9330550;hp=3f3a3581d5eeb0e38960c055cfa0963c9ba9d13e;hb=80e63e12e3043d7164c35c4babd830dd969cd212;hpb=e4a4e5149d55cf01a86f26392c52fdca803654ce diff --git a/inc/settings.php b/inc/settings.php index 3f3a358..c06b92d 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -21,9 +21,25 @@ define ("DBPREFIX", "syp_"); // to be writeable by SYP. define ("UPLOADDIR", "upload"); +// directory where generated thumbnails are stored. That directory needs to be +// writeable by SYP. +define ("THUMBSDIR", "upload/_thumbs"); + // title of your website define ("SITETITLE", "SYP"); +// ftp server to store photos +define ("FTPSERVER", ""); + +// ftp user +define ("FTPUSER", ""); + +// ftp pass +define ("FTPPASS", ""); + +// ftp directory for images and thumbnails +define ("FTPROOTDIR", ""); + // email contact for webmaster. define ("WEBMASTERMAIL", ""); @@ -32,4 +48,18 @@ define ("WEBMASTERMAIL", ""); // different between syp admin and images directory. Or if protocol is // different (for example, if syp admin is https and images directory is http) define ("IMGSDIRURL", ""); + +// url of tumbnails directory. If empty, syp will try to guess it from syp +// location and THUMBSDIR. So, you need to set that variable if host is +// different between syp admin and images directory. Or if protocol is +// different (for example, if syp admin is https and images directory is http) +define ("THUMBSDIRURL", ""); + +// max size (either width or height) of thumbnails. If one dimension of +// uploaded image is bigger, images will be resized. +define ("THUMBSMAXSIZE", 400); + +// if set to 0 (default), popup will appear at bottom right corner of the map. +// If set to 1 or true, popup will appear near marker. +define ("POPUPNEARFEATURE", 0); ?>