cvs: pear /Cache_Lite Lite.php
| From: | Urs Gehrig | Date: | Mon, 13 Jan 2003 22:32:35 +0000 |
| Subject: | cvs: pear /Cache_Lite Lite.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8226@lists.php.net to get a copy of this message | ||
urs Mon Jan 13 17:32:35 2003 EDT
Modified files:
/pear/Cache_Lite Lite.php
Log:
array as default type to prevent from a warning.
Index: pear/Cache_Lite/Lite.php
diff -u pear/Cache_Lite/Lite.php:1.5 pear/Cache_Lite/Lite.php:1.6
--- pear/Cache_Lite/Lite.php:1.5 Mon Jan 6 11:37:04 2003
+++ pear/Cache_Lite/Lite.php Mon Jan 13 17:32:35 2003
@@ -15,7 +15,7 @@
*
* @package Cache_Lite
* @category Caching
-* @version $Id: Lite.php,v 1.5 2003/01/06 16:37:04 fab Exp $
+* @version $Id: Lite.php,v 1.6 2003/01/13 22:32:35 urs Exp $
* @author Fabien MARTY <fab@php.net>
*/
@@ -190,7 +190,7 @@
* @param array $options options
* @access public
*/
- function Cache_Lite($options = NULL)
+ function Cache_Lite($options = array(NULL))
{
$availableOptions =
'{memoryCaching}{onlyMemoryCaching}{memoryCachingLimit}{cacheDir}{caching}{lifeTime}{fileLocking}{writeControl}{readControl}{readControlType}{pearErrorMode}';
while (list($key, $value) = each($options)) {