]> dev.renevier.net Git - syp.git/blobdiff - inc/settings.php
images are stored on a ftp server
[syp.git] / inc / settings.php
index 33a358f027b3c5df81caf543642abb06c1b05e0a..0cc5a29942934852587573f39ae4956a601cb23c 100644 (file)
@@ -6,7 +6,7 @@
 define ("DBHOST", "localhost");
 
 // database user
-define ("DBUSER", "root");
+define ("DBUSER", "syp");
 
 // database password
 define ("DBPWD", "");
@@ -17,16 +17,31 @@ 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");
 
 // title of your website
 define ("SITETITLE", "SYP");
+
+// ftp server to store photos
+define ("FTPSERVER", "");
+
+// ftp user
+define ("FTPUSER", "");
+
+// ftp pass
+define ("FTPPASS", "");
+
+// ftp directory
+define ("FTPIMGDIR", "");
+
+// 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", "");
 ?>