bug #41549 [Security] Fix opcache preload with alias classes (jderusse)
This PR was merged into the 4.4 branch.
Discussion
----------
[Security] Fix opcache preload with alias classes
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #39961, fix #40752
| License | MIT
| Doc PR | -
Commits
-------
b10b6951a6
Fix opcache preload with alias classes
This commit is contained in:
commit
6eead347b0
@ -107,4 +107,6 @@ class TraceableAccessDecisionManager implements AccessDecisionManagerInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!class_exists(DebugAccessDecisionManager::class, false)) {
|
||||||
class_alias(TraceableAccessDecisionManager::class, DebugAccessDecisionManager::class);
|
class_alias(TraceableAccessDecisionManager::class, DebugAccessDecisionManager::class);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user