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

Commit 71d4c2c

Browse files
committed
making sure that ignored dirs are properly found at the top level
1 parent b846a28 commit 71d4c2c

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
@@ -710,7 +710,7 @@ protected function moveStaticFile($fileName,$copy = "") {
710710
*/
711711
protected function ignoreDir($fileName) {
712712
foreach($this->id as $dir) {
713-
$pos = strpos($fileName,DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR);
713+
$pos = strpos(DIRECTORY_SEPARATOR.$fileName,DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR);
714714
if ($pos !== false) {
715715
return true;
716716
}

0 commit comments

Comments
 (0)