Commit 14ea2299 authored by Imran Hussain's avatar Imran Hussain

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!
parent 940ae6d2
Pipeline #514 passed with stage
in 3 minutes and 26 seconds
...@@ -4,9 +4,9 @@ require("/var/www/sucssite/htdocs/settings.php"); ...@@ -4,9 +4,9 @@ require("/var/www/sucssite/htdocs/settings.php");
require("/usr/share/php/adodb/adodb.inc.php"); require("/usr/share/php/adodb/adodb.inc.php");
$dbname = 'sucssite'; $dbname = 'sucssite';
$dbuser = 'apache'; $dbuser = 'sucs_site_user';
$DB = NewADOConnection('postgres8'); $DB = NewADOConnection('postgres9');
$DB->Connect('dbname=' . $dbname . ' user=' . $dbuser); $DB->Connect('dbname=' . $dbname . ' user=' . $dbuser);
$DB->SetCharSet('utf8'); $DB->SetCharSet('utf8');
$DB->SetFetchMode(ADODB_FETCH_ASSOC); $DB->SetFetchMode(ADODB_FETCH_ASSOC);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment