X-Git-Url: https://dev.renevier.net/?p=syp.git;a=blobdiff_plain;f=inc%2Fsettings.php;h=8ec2d4ba62055e6a23b0bcd03314c2e0d1c02529;hp=33a358f027b3c5df81caf543642abb06c1b05e0a;hb=57511b4efd7402ef58de66ac1fe2c01ed1b1d7b5;hpb=cbcf49abc26fb050cadf77d8acedfd844ff94dbe diff --git a/inc/settings.php b/inc/settings.php index 33a358f..8ec2d4b 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", ""); @@ -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", ""); ?>