2 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
6 define ("DBHOST", "localhost");
9 define ("DBUSER", "syp");
15 define ("DBNAME", "syp");
17 // tables prefix. This prefix will also be used as a prefix for cookie names.
18 define ("DBPREFIX", "syp_");
20 // directory where images will be uploaded and stored. That directory needs
21 // to be writeable by SYP.
22 define ("UPLOADDIR", "upload");
24 // directory where generated thumbnails are stored. That directory needs to be
26 define ("THUMBSDIR", "upload/_thumbs");
28 // title of your website
29 define ("SITETITLE", "SYP");
31 // ftp server to store photos
32 define ("FTPSERVER", "");
35 define ("FTPUSER", "");
38 define ("FTPPASS", "");
40 // ftp directory for images and thumbnails
41 define ("FTPROOTDIR", "");
43 // email contact for webmaster.
44 define ("WEBMASTERMAIL", "");
46 // url of images directory. If empty, syp will try to guess it from syp admin
47 // location and UPLOADDIR. So, you need to set that variable if host is
48 // different between syp admin and images directory. Or if protocol is
49 // different (for example, if syp admin is https and images directory is http)
50 define ("IMGSDIRURL", "");
52 // url of tumbnails directory. If empty, syp will try to guess it from syp
53 // location and THUMBSDIR. So, you need to set that variable if host is
54 // different between syp admin and images directory. Or if protocol is
55 // different (for example, if syp admin is https and images directory is http)
56 define ("THUMBSDIRURL", "");
58 // max size (either width or height) of thumbnails. If one dimension of
59 // uploaded image is bigger, images will be resized.
60 define ("THUMBSMAXSIZE", 400);
62 // if set to 0 (default), popup will appear at bottom right corner of the map.
63 // If set to 1 or true, popup will appear near marker.
64 define ("POPUPNEARFEATURE", 0);