[Debug] Ensure class declarations are loaded only once
This commit is contained in:
parent
6de2304c0b
commit
01c08fccf4
@ -147,7 +147,7 @@ class DebugClassLoader
|
|||||||
try {
|
try {
|
||||||
if ($this->isFinder) {
|
if ($this->isFinder) {
|
||||||
if ($file = $this->classLoader[0]->findFile($class)) {
|
if ($file = $this->classLoader[0]->findFile($class)) {
|
||||||
require $file;
|
require_once $file;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
call_user_func($this->classLoader, $class);
|
call_user_func($this->classLoader, $class);
|
||||||
|
Reference in New Issue
Block a user