logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1178339 - /logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php
Date Mon, 03 Oct 2011 08:50:42 GMT
Author: ihabunek
Date: Mon Oct  3 08:50:42 2011
New Revision: 1178339

URL: http://svn.apache.org/viewvc?rev=1178339&view=rev
Log:
Removed bug in ReflectionUtils which would not allow fully qualified class names to be used
in object creation.

Modified:
    logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php

Modified: logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php?rev=1178339&r1=1178338&r2=1178339&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerReflectionUtils.php Mon Oct  3 08:50:42 2011
@@ -128,7 +128,6 @@ class LoggerReflectionUtils {
 	 */
 	public static function createObject($class) {
 		if(!empty($class)) {
-			$class = basename($class);
 			return new $class();
 		}
 		return null;



Mime
View raw message