dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Normalize path in AutoloadGenerator::setExcludePaths
[lhc/web/wiklou.git]
/
includes
/
utils
/
AutoloadGenerator.php
diff --git
a/includes/utils/AutoloadGenerator.php
b/includes/utils/AutoloadGenerator.php
index
1c7c9b0
..
1415ea3
100644
(file)
--- a/
includes/utils/AutoloadGenerator.php
+++ b/
includes/utils/AutoloadGenerator.php
@@
-74,7
+74,9
@@
class AutoloadGenerator {
* @param string[] $paths
*/
public function setExcludePaths( array $paths ) {
- $this->excludePaths = $paths;
+ foreach ( $paths as $path ) {
+ $this->excludePaths[] = self::normalizePathSeparator( $path );
+ }
}
/**