cvs: pear /PECL/session_pgsql session_pgsql.c

From: Date: Mon, 07 Jan 2002 06:36:57 +0000
Subject: cvs: pear /PECL/session_pgsql session_pgsql.c
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1861@lists.php.net to get a copy of this message
yohgaki Mon Jan 7 01:36:57 2002 EDT Modified files: /pear/PECL/session_pgsql session_pgsql.c Log: Fix MINIT so that other save handler can work Index: pear/PECL/session_pgsql/session_pgsql.c diff -u pear/PECL/session_pgsql/session_pgsql.c:1.5 pear/PECL/session_pgsql/session_pgsql.c:1.6 --- pear/PECL/session_pgsql/session_pgsql.c:1.5 Mon Jan 7 01:15:12 2002 +++ pear/PECL/session_pgsql/session_pgsql.c Mon Jan 7 01:36:57 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session_pgsql.c,v 1.5 2002/01/07 06:15:12 yohgaki Exp $ */ +/* $Id: session_pgsql.c,v 1.6 2002/01/07 06:36:57 yohgaki Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -119,7 +119,10 @@ PHP_RINIT_FUNCTION(ps_pgsql) { ELOG("RINIT Called"); - return php_ps_pgsql_connect(PS(save_path)); + if (PS(save_path) && PS(save_path)[0] == 'p' ) { + return php_ps_pgsql_connect(PS(save_path)); + } + return SUCCESS; } PHP_RSHUTDOWN_FUNCTION(ps_pgsql)

« previous php.pear.cvs (#1861) next »