Skip to content

Commit

Permalink
Fix paths on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Aug 25, 2023
1 parent 1f8ac35 commit 1330da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/BlockManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Winter\Storm\Support\Traits\Singleton;
use Winter\Storm\Support\Str;
use Winter\Storm\Exception\SystemException;
use Winter\Storm\Filesystem\PathResolver;

/**
* Manages the available Blocks that can be used in the application
Expand Down Expand Up @@ -70,7 +71,7 @@ public function registerBlock(string $key, string $path): void
return;
}

$this->blocks[$key] = $realPath;
$this->blocks[$key] = PathResolver::standardize($realPath);
}

/**
Expand Down

0 comments on commit 1330da4

Please sign in to comment.