cvs: pear /Log Log.php
| From: | Chuck Hagenbuch | Date: | Mon, 01 Oct 2007 15:56:17 +0000 |
| Subject: | cvs: pear /Log Log.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-48736@lists.php.net to get a copy of this message | ||
chagenbu Mon Oct 1 15:56:17 2007 UTC
Modified files:
/pear/Log Log.php
Log:
don't let __autoload run for Log handlers
http://cvs.php.net/viewvc.cgi/pear/Log/Log.php?r1=1.64&r2=1.65&diff_format=u
Index: pear/Log/Log.php
diff -u pear/Log/Log.php:1.64 pear/Log/Log.php:1.65
--- pear/Log/Log.php:1.64 Sun Oct 8 23:03:15 2006
+++ pear/Log/Log.php Mon Oct 1 15:56:16 2007
@@ -1,9 +1,9 @@
<?php
/**
- * $Header: /repository/pear/Log/Log.php,v 1.64 2006/10/08 23:03:15 jon Exp $
+ * $Header: /repository/pear/Log/Log.php,v 1.65 2007/10/01 15:56:16 chagenbu Exp $
* $Horde: horde/lib/Log.php,v 1.15 2000/06/29 23:39:45 jon Exp $
*
- * @version $Revision: 1.64 $
+ * @version $Revision: 1.65 $
* @package Log
*/
@@ -138,12 +138,12 @@
* a failure as fatal. The caller may have already included their own
* version of the named class.
*/
- if (!class_exists($class)) {
+ if (!class_exists($class, false)) {
include_once $classfile;
}
/* If the class exists, return a new instance of it. */
- if (class_exists($class)) {
+ if (class_exists($class, false)) {
$obj = &new $class($name, $ident, $conf, $level);
return $obj;
}