a8bd6eac81
ok jasper@
13 lines
565 B
Plaintext
13 lines
565 B
Plaintext
$OpenBSD: patch-libraries_lib_inc_php,v 1.1 2011/06/22 11:51:32 pea Exp $
|
|
--- libraries/lib.inc.php.orig Mon Jun 6 14:06:05 2011
|
|
+++ libraries/lib.inc.php Mon Jun 6 14:06:21 2011
|
|
@@ -189,7 +189,7 @@
|
|
|
|
/* starting with PostgreSQL 9.0, we can set the application name */
|
|
if(isset($_server_info['pgVersion']) && $_server_info['pgVersion'] >= 9)
|
|
- putenv("PGOPTIONS=--application_name={$appName}_{$appVersion}");
|
|
+ putenv("PGAPPNAME={$appName}_{$appVersion}");
|
|
|
|
// Redirect to the login form if not logged in
|
|
if (!isset($_server_info['username'])) {
|