X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=inc%2Fsettings.php;h=5d4910a7b4d6f253dfb4fc583f21fb204b538dce;hp=33a358f027b3c5df81caf543642abb06c1b05e0a;hb=12376baf148afee289fbb53dd16ee2a0841d5290;hpb=7282fabcfef34ef95b8c6bd414f34d77037451e1 diff --git a/inc/settings.php b/inc/settings.php index 33a358f..5d4910a 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -6,7 +6,7 @@ define ("DBHOST", "localhost"); // database user -define ("DBUSER", "root"); +define ("DBUSER", "syp"); // database password define ("DBPWD", ""); @@ -17,16 +17,37 @@ define ("DBNAME", "syp"); // tables prefix. This prefix will also be used as a prefix for cookie names. define ("DBPREFIX", "syp_"); -// admin password. It will be read from here during site installation. -// Then, it will be stored in database. So, if you need to change password -// once it's set, changing it here will not work; you'll need to change it -// in the database. -define ("ADMINPWD", ""); - // 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); ?>