Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 07f8dad

Browse files
authored
Merge pull request #8 from glorand/master
Use DIRECTORY_SEPARATOR
2 parents 8313759 + 6fc726f commit 07f8dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ public function findJob($name)
589589
$files = $finder->name($fileName)->in($this->findDomainsRootPath())->files();
590590
foreach ($files as $file) {
591591
$path = $file->getRealPath();
592-
$domainName = strstr($file->getRelativePath(), '/', true);
592+
$domainName = strstr($file->getRelativePath(), DIRECTORY_SEPARATOR, true);
593593
$domain = $this->findDomain($domainName);
594594
$content = file_get_contents($path);
595595

0 commit comments

Comments
 (0)