Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 60e3948

Browse files
committed
making ignoreDir() win compliant
1 parent a783ae6 commit 60e3948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/lib/builder.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ protected function moveStaticFile($fileName,$copy = "") {
692692
protected function ignoreDir($fileName) {
693693
$y = false;
694694
foreach($this->id as $dir) {
695-
$pos = strpos($fileName,"/".$dir."/");
695+
$pos = strpos($fileName,DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR.);
696696
if ($pos !== false) {
697697
$y = true;
698698
break;

0 commit comments

Comments
 (0)