summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-12-22 01:31:13 +0000
committerStig Bakken <ssb@php.net>2002-12-22 01:31:13 +0000
commitc4ddda3e23705dd8d77c7c58765e8fbd8279f54c (patch)
tree13efc1bf1519b16e8d8e6f780bcda155870e56c2
parentca4a0cdb8ae217b47b93f2ab91f4effb4fd1b9d0 (diff)
downloadphp-git-c4ddda3e23705dd8d77c7c58765e8fbd8279f54c.tar.gz
* set default xml-rpc cache ttl to 1 hour
-rw-r--r--pear/PEAR/Config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php
index 0432fccfa9..f8dea8b234 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
+?>