cclaerhout
Well-known member
I'm trying to use XenForo with Concrete5 to create a block to display last resources. Thanks to many posts here I found documentation for the autoloader. The problem is Concrete5 also uses Zend so there's a clash with similar functions. I've cheated and use:
Which allows me to access to XenForo options, visitor object and even some of the models.
The problem is when I want to use some methods from models the trick doesn't use anymore.
So is there a way to skip the Zend Framework libraries when I call the XenForo autoloader?
PHP:
XenForo_Application::disablePhpErrorHandler();
error_reporting( E_ALL ^ E_NOTICE ^ E_USER_NOTICE ^ E_WARNING);
The problem is when I want to use some methods from models the trick doesn't use anymore.
So is there a way to skip the Zend Framework libraries when I call the XenForo autoloader?