Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77651 | Differences between
and this patch

Collapse All | Expand All

(-)gui/include/sql.php (-2 / +7 lines)
Lines 20-30 Link Here
20
20
21
$include_path = realpath(dirname(__FILE__));
21
$include_path = realpath(dirname(__FILE__));
22
22
23
include_once (realpath($include_path.'/adodb/adodb.inc.php'));
23
include_once 'adodb/adodb.inc.php';
24
//include_once (realpath($include_path.'/adodb/tohtml.inc.php'));
24
//include_once (realpath($include_path.'/adodb/tohtml.inc.php'));
25
include_once (realpath($include_path.'/adodb/adodb-pager.inc.php'));
25
include_once 'adodb/adodb-pager.inc.php';
26
26
27
27
28
if (empty($cfg['DB_PASS'])) {
29
	echo '<p align="center"><b>Database password not found!</b><br/>Please execute the \'VHCS Setup Tool\' to create a new and working configuration file.</p>';
30
   die();
31
}
32
28
if ($cfg['DB_TYPE'] === 'pgsql') {
33
if ($cfg['DB_TYPE'] === 'pgsql') {
29
  $sql = &ADONewConnection('postgres7');
34
  $sql = &ADONewConnection('postgres7');
30
35

Return to bug 77651