X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fsettings.php;h=50797f0eafc9e932324834ae7dcf33c158ab6547;hp=68bc142aee3799e1420a0455ec69948bca945f4b;hb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7;hpb=a95b8e8626615eb84bd4760a0640d13dc1e67bab diff --git a/inc/settings.php b/inc/settings.php index 68bc142..50797f0 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -21,12 +21,29 @@ 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"); +// email contact for webmaster. +define ("WEBMASTERMAIL", ""); + // url of images directory. If empty, syp will try to guess it from syp admin // location and UPLOADDIR. 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 ("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); ?>