Project

General

Profile

Bug #20572 » 0011272.patch

Administrator Admin, 2009-06-10 15:06

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
public static function makeInstanceClassName($className) {
self::logDeprecatedFunction();
return (class_exists($className) && class_exists('ux_'.$className) ? t3lib_div::makeInstanceClassName('ux_' . $className) : $className);
return (class_exists($className) && class_exists('ux_'.$className, true) ? t3lib_div::makeInstanceClassName('ux_' . $className) : $className);
}
/**
......
* @return string Final class name to instantiate with "new [classname]"
*/
protected function getClassName($className) {
return (class_exists($className) && class_exists('ux_' . $className) ? self::getClassName('ux_' . $className) : $className);
return (class_exists($className) && class_exists('ux_' . $className, true) ? self::getClassName('ux_' . $className) : $className);
}
/**
(1-1/2)