[SUCS Devel] [Git][sucssite/sucs-site][master] Fix motd thing

Imran Hussain imranh at sucs.org
Wed Jan 23 09:42:39 GMT 2019


Imran Hussain pushed to branch master at sucssite / sucs-site


Commits:
14ea2299 by Imran Hussain at 2019-01-23T09:41:48Z
Fix motd thing

Honestly I probably know the sucs site better than most at this point and even I'm finding new weird stuff like this!

- - - - -


1 changed file:

- components/motd_wrapper.php


Changes:

=====================================
components/motd_wrapper.php
=====================================
@@ -4,9 +4,9 @@ require("/var/www/sucssite/htdocs/settings.php");
 require("/usr/share/php/adodb/adodb.inc.php");
 
 $dbname = 'sucssite';
-$dbuser = 'apache';
+$dbuser = 'sucs_site_user';
 
-$DB = NewADOConnection('postgres8');
+$DB = NewADOConnection('postgres9');
 $DB->Connect('dbname=' . $dbname . ' user=' . $dbuser);
 $DB->SetCharSet('utf8');
 $DB->SetFetchMode(ADODB_FETCH_ASSOC);



View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/14ea2299922aa99640325867d223bb0c63af4d5a

-- 
View it on GitLab: https://projects.sucs.org/sucssite/sucs-site/commit/14ea2299922aa99640325867d223bb0c63af4d5a
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20190123/cbaa4b29/attachment.html>


More information about the Devel mailing list