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 // email contact for webmaster.
32 define ("WEBMASTERMAIL", "");
34 // url of images directory. If empty, syp will try to guess it from syp admin
35 // location and UPLOADDIR. So, you need to set that variable if host is
36 // different between syp admin and images directory. Or if protocol is
37 // different (for example, if syp admin is https and images directory is http)
38 define ("IMGSDIRURL", "");
40 // url of tumbnails directory. If empty, syp will try to guess it from syp
41 // location and THUMBSDIR. So, you need to set that variable if host is
42 // different between syp admin and images directory. Or if protocol is
43 // different (for example, if syp admin is https and images directory is http)
44 define ("THUMBSDIRURL", "");
46 // max size (either width or height) of thumbnails. If one dimension of
47 // uploaded image is bigger, images will be resized.
48 define ("THUMBSMAXSIZE", 400);
50 // if set to 0 (default), popup will appear at bottom right corner of the map.
51 // If set to 1 or true, popup will appear near marker.
52 define ("POPUPNEARFEATURE", 0);