[pLog-svn] r4015 -
plog/branches/lifetype-1.1.1/class/cache/Cache_Lite
mark at devel.lifetype.net
mark at devel.lifetype.net
Fri Sep 22 05:53:51 GMT 2006
Author: mark
Date: 2006-09-22 05:53:50 +0000 (Fri, 22 Sep 2006)
New Revision: 4015
Modified:
plog/branches/lifetype-1.1.1/class/cache/Cache_Lite/Lite.php
Log:
We need to extend the cache_list class with logabble class, or we will get non-object error when error occurs.
Modified: plog/branches/lifetype-1.1.1/class/cache/Cache_Lite/Lite.php
===================================================================
--- plog/branches/lifetype-1.1.1/class/cache/Cache_Lite/Lite.php 2006-09-21 21:35:54 UTC (rev 4014)
+++ plog/branches/lifetype-1.1.1/class/cache/Cache_Lite/Lite.php 2006-09-22 05:53:50 UTC (rev 4015)
@@ -1,5 +1,7 @@
<?php
+include_once( PLOG_CLASS_PATH."class/object/loggable.class.php" );
+
define('CACHE_LITE_ERROR_RETURN', 1);
define('CACHE_LITE_ERROR_DIE', 8);
@@ -27,7 +29,7 @@
* @version $Id: Lite.php,v 1.37 2005/11/24 20:10:01 fab Exp $
* @author Fabien MARTY <fab at php.net>
*/
-class Cache_Lite
+class Cache_Lite extends Loggable
{
// --- Private properties ---
More information about the pLog-svn
mailing list