Skip to content

Commit 2ab2ea7

Browse files
committed
Replace document_dir slashes.
1 parent 53ef50b commit 2ab2ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/DocumentFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function getBundleDocumentPaths($bundle)
106106

107107
return glob(
108108
dirname($bundleReflection->getFileName()) .
109-
DIRECTORY_SEPARATOR . $this->getDocumentDir() .
109+
DIRECTORY_SEPARATOR . str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $this->getDocumentDir()) .
110110
DIRECTORY_SEPARATOR . '*.php'
111111
);
112112
}

0 commit comments

Comments
 (0)