mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Update autoload.php
- add interface exist check for interface loading by vendor classes
This commit is contained in:
parent
cace666818
commit
1fe5478761
@ -54,7 +54,7 @@ spl_autoload_register(function($class)
|
||||
{
|
||||
require_once($al);
|
||||
|
||||
if (class_exists($partclass = implode('\\', $parts), true))
|
||||
if (class_exists($partclass = implode('\\', $parts), true) || interface_exists($partclass, true))
|
||||
{
|
||||
class_alias($partclass, $class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user