Skip to content
Snippets Groups Projects
Commit a506389e authored by Graham Cole's avatar Graham Cole
Browse files

more fixes from the live site

parent fd3ba314
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ if (isset($session->groups[$permission])) { ...@@ -15,7 +15,7 @@ if (isset($session->groups[$permission])) {
// connect to sucs database // connect to sucs database
$sucsDB = NewADOConnection('postgres8'); $sucsDB = NewADOConnection('postgres8');
$sucsDB->Connect('dbname=sucs'); $sucsDB->Connect('dbname=sucs user=apache');
$sucsDB->SetFetchMode(ADODB_FETCH_ASSOC); $sucsDB->SetFetchMode(ADODB_FETCH_ASSOC);
// $sucsDB->debug = true; // $sucsDB->debug = true;
......
...@@ -7,7 +7,7 @@ if (isset($session->groups[$permission])) { ...@@ -7,7 +7,7 @@ if (isset($session->groups[$permission])) {
// connect to sucs database // connect to sucs database
$sucsDB = NewADOConnection('postgres8'); $sucsDB = NewADOConnection('postgres8');
$sucsDB->Connect('dbname=sucs'); $sucsDB->Connect('dbname=sucs user=apache');
$sucsDB->SetFetchMode(ADODB_FETCH_ASSOC); $sucsDB->SetFetchMode(ADODB_FETCH_ASSOC);
//get unused signup slips //get unused signup slips
$query = "SELECT signup.id, signup.sid, member_type.typename, members.username, signup.card"; $query = "SELECT signup.id, signup.sid, member_type.typename, members.username, signup.card";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment