]> dev.renevier.net Git - syp.git/blob - inc/settings.php.in
images stored on ftp server
[syp.git] / inc / settings.php.in
1 <?php
2 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
3    license. */
4
5 // database hostname
6 define ("DBHOST", "localhost");
7
8 // database user
9 define ("DBUSER", "syp");
10
11 // database password
12 define ("DBPWD", "");
13
14 // database name
15 define ("DBNAME", "syp");
16
17 // tables prefix. This prefix will also be used as a prefix for cookie names.
18 define ("DBPREFIX", "syp_");
19
20 // directory where images will be uploaded and stored. That directory needs
21 // to be writeable by SYP.
22 define ("UPLOADDIR", "upload");
23
24 // directory where generated thumbnails are stored. That directory needs to be
25 // writeable by SYP.
26 define ("THUMBSDIR", "upload/_thumbs");
27
28 // title of your website
29 define ("SITETITLE", "SYP");
30
31 // ftp server to store photos
32 define ("FTPSERVER", "");
33
34 // ftp user
35 define ("FTPUSER", "");
36
37 // ftp pass
38 define ("FTPPASS", "");
39
40 // ftp directory for images and thumbnails
41 define ("FTPROOTDIR", "");
42
43 // email contact for webmaster.
44 define ("WEBMASTERMAIL", "");
45
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", "");
51
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", "");
57
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);
61
62 // If set to 0 popup will appear near selected marker. 
63 // If set to 1, popup will appear at top left corner of the map
64 // If set to 2, popup will appear at top right corner of the map
65 // If set to 3 (default), popup will appear at bottom right corner of the map
66 // If set to 4, popup will appear at bottom left corner of the map
67 define ("POPUPPOS", 3);
68 ?>