#20 XC_CLASS_EXISTS loops infinity.

closed-fixed
mumin
general (4)
9
2009-03-03
2009-03-03
mumin
No

Macro function of XC_CLASS_EXISTS dose loops infinity.

/core/XCube_Root.class.php L15-23

function XC_CLASS_EXISTS($className)
{
if (version_compare(PHP_VERSION, "5.0", ">=")) {
- return XC_CLASS_EXISTS($className, false);
+ return class_exists($className, false);
}
else {
- return XC_CLASS_EXISTS($className);
+ return class_exists($className);
}
}

Discussion

  • mumin
    mumin
    2009-03-03

    • status: open --> closed-fixed
     
  • mumin
    mumin
    2009-03-03

    I've fixed this.