HOR-1254 CLONE - Plugin REST service is not properly registered in a Windows server
c Fix replacement of path separator in a rest uri.
This commit is contained in:
@@ -1425,7 +1425,7 @@ class PMPluginRegistry
|
|||||||
foreach ($classesList as $classFile) {
|
foreach ($classesList as $classFile) {
|
||||||
if (pathinfo($classFile, PATHINFO_EXTENSION) === 'php') {
|
if (pathinfo($classFile, PATHINFO_EXTENSION) === 'php') {
|
||||||
$ns = str_replace(
|
$ns = str_replace(
|
||||||
DIRECTORY_SEPARATOR,
|
'/',
|
||||||
'\\',
|
'\\',
|
||||||
str_replace('.php', '', str_replace($baseSrcPluginPath, '', $classFile))
|
str_replace('.php', '', str_replace($baseSrcPluginPath, '', $classFile))
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user