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

Commit 6fc726f

Browse files
author
Lorand Gombos
committed
Use DIRECTORY_SEPARATOR
1 parent 1c72411 commit 6fc726f

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
@@ -488,7 +488,7 @@ public function findJob($name)
488488
$files = $finder->name($fileName)->in($this->findDomainsRootPath())->files();
489489
foreach ($files as $file) {
490490
$path = $file->getRealPath();
491-
$domainName = strstr($file->getRelativePath(), '/', true);
491+
$domainName = strstr($file->getRelativePath(), DIRECTORY_SEPARATOR, true);
492492
$domain = $this->findDomain($domainName);
493493
$content = file_get_contents($path);
494494

0 commit comments

Comments
 (0)