From c4ddda3e23705dd8d77c7c58765e8fbd8279f54c Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sun, 22 Dec 2002 01:31:13 +0000 Subject: [PATCH] * set default xml-rpc cache ttl to 1 hour --- pear/PEAR/Config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index 0432fccfa9c..f8dea8b234f 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -149,7 +149,7 @@ if (isset($_ENV['PHP_PEAR_UMASK'])) { if (isset($_ENV['PHP_PEAR_CACHE_TTL'])) { define('PEAR_CONFIG_DEFAULT_CACHE_TTL', $_ENV['PHP_PEAR_CACHE_TTL']); } else { - define('PEAR_CONFIG_DEFAULT_CACHE_TTL', 0); + define('PEAR_CONFIG_DEFAULT_CACHE_TTL', 3600); } // Default for sig_type @@ -1136,4 +1136,4 @@ class PEAR_Config extends PEAR // }}} } -?> \ No newline at end of file +?>