]> dev.renevier.net Git - syp.git/blobdiff - inc/settings.php.in
improve wizard (hand editing of settings.php is no more needed)
[syp.git] / inc / settings.php.in
diff --git a/inc/settings.php.in b/inc/settings.php.in
new file mode 100644 (file)
index 0000000..5d4910a
--- /dev/null
@@ -0,0 +1,53 @@
+<?php
+/* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
+   license. */
+
+// database hostname
+define ("DBHOST", "localhost");
+
+// database user
+define ("DBUSER", "syp");
+
+// database password
+define ("DBPWD", "");
+
+// database name
+define ("DBNAME", "syp");
+
+// tables prefix. This prefix will also be used as a prefix for cookie names.
+define ("DBPREFIX", "syp_");
+
+// directory where images will be uploaded and stored. That directory needs
+// 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);
+
+// if set to 0 (default), popup will appear at bottom right corner of the map.
+// If set to 1 or true, popup will appear near marker.
+define ("POPUPNEARFEATURE", 0);
+?>