]> dev.renevier.net Git - syp.git/blob - inc/settings.php.in
ed12c5f4d9de94ddae06623ed58d7a2c8fc0cee6
[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 // email contact for webmaster.
32 define ("WEBMASTERMAIL", "");
33
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", "");
39
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", "");
45
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);
49
50 // If set to 0 popup will appear near selected marker. 
51 // If set to 1, popup will appear at top left corner of the map
52 // If set to 2, popup will appear at top right corner of the map
53 // If set to 3 (default), popup will appear at bottom right corner of the map
54 // If set to 4, popup will appear at bottom left corner of the map
55 define ("POPUPPOS", 3);
56 ?>