]> granicus.if.org Git - php/commitdiff
* set default xml-rpc cache ttl to 1 hour
authorStig Bakken <ssb@php.net>
Sun, 22 Dec 2002 01:31:13 +0000 (01:31 +0000)
committerStig Bakken <ssb@php.net>
Sun, 22 Dec 2002 01:31:13 +0000 (01:31 +0000)
pear/PEAR/Config.php

index 0432fccfa9c44488c6e4981893164219021e3823..f8dea8b234f79e34eb6ef8fbe80a6a3997a00a4b 100644 (file)
@@ -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
+?>