diff options
author | John Donagher <jdonagher@php.net> | 2001-08-14 20:28:07 +0000 |
---|---|---|
committer | John Donagher <jdonagher@php.net> | 2001-08-14 20:28:07 +0000 |
commit | 02b431b6d5e503e5d6708b216e5d174271410921 (patch) | |
tree | d265e32b86974abcef09556c57c63c70166bb66b /ext/pfpro/pfpro.c | |
parent | d53cb7cd2fda031728bdfd6856e82c8a994efa58 (diff) | |
download | php-git-02b431b6d5e503e5d6708b216e5d174271410921.tar.gz |
Add compile-time versioning for default hostname
Diffstat (limited to 'ext/pfpro/pfpro.c')
-rw-r--r-- | ext/pfpro/pfpro.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ext/pfpro/pfpro.c b/ext/pfpro/pfpro.c index a06e6b75d6..aa1d4b5640 100644 --- a/ext/pfpro/pfpro.c +++ b/ext/pfpro/pfpro.c @@ -76,7 +76,13 @@ ZEND_GET_MODULE(pfpro) /* {{{ initialization defaults */ PHP_INI_BEGIN() - STD_PHP_INI_ENTRY("pfpro.defaulthost", "test.signio.com", PHP_INI_ALL, OnUpdateString, defaulthost, php_pfpro_globals, pfpro_globals) +#if PFPRO_VERSION < 3 + STD_PHP_INI_ENTRY("pfpro.defaulthost", "test.signio.com", + PHP_INI_ALL, OnUpdateString, defaulthost, php_pfpro_globals, pfpro_globals) +#else + STD_PHP_INI_ENTRY("pfpro.defaulthost", "test-payflow.verisign.com", + PHP_INI_ALL, OnUpdateString, defaulthost, php_pfpro_globals, pfpro_globals) +#endif STD_PHP_INI_ENTRY("pfpro.defaultport", "443", PHP_INI_ALL, OnUpdateInt, defaultport, php_pfpro_globals, pfpro_globals) STD_PHP_INI_ENTRY("pfpro.defaulttimeout", "30", PHP_INI_ALL, OnUpdateInt, defaulttimeout, php_pfpro_globals, pfpro_globals) STD_PHP_INI_ENTRY("pfpro.proxyaddress", "", PHP_INI_ALL, OnUpdateString, proxyaddress, php_pfpro_globals, pfpro_globals) |