Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
milliways
mw
Commits
7b627813
Project 'arthur/mw' was moved to 'milliways/mw'. Please update any links and bookmarks that may still have the old path.
Commit
7b627813
authored
Oct 06, 2015
by
Imran Hussain
Browse files
Make the webclient use postgres 9 when connecting to the DB via adodb
parent
264828c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
webclient/startup.php
View file @
7b627813
...
...
@@ -73,7 +73,7 @@ if (file_exists("../settings.php")) {
include
(
"../settings.php"
);
// Initialise the database
require
(
"/usr/share/php/adodb/adodb.inc.php"
);
$DB
=
NewADOConnection
(
'postgres
8
'
);
$DB
=
NewADOConnection
(
'postgres
9
'
);
$DB
->
Connect
(
'dbname='
.
$dbname
.
' user=apache'
);
$DB
->
SetFetchMode
(
ADODB_FETCH_ASSOC
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment