]> dev.renevier.net Git - syp.git/blobdiff - inc/settings.php
real api and clearer separation between server and client
[syp.git] / inc / settings.php
index 33a358f027b3c5df81caf543642abb06c1b05e0a..8ec2d4ba62055e6a23b0bcd03314c2e0d1c02529 100644 (file)
@@ -6,7 +6,7 @@
 define ("DBHOST", "localhost");
 
 // database user
-define ("DBUSER", "root");
+define ("DBUSER", "syp");
 
 // database password
 define ("DBPWD", "");
@@ -29,4 +29,10 @@ define ("UPLOADDIR", "upload");
 
 // title of your website
 define ("SITETITLE", "SYP");
+
+// 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", "");
 ?>