Skip to content

Commit

Permalink
Merge pull request #23 from samsonasik/fix-windows-path
Browse files Browse the repository at this point in the history
Fix windows path include module config
  • Loading branch information
samsonasik authored Jan 8, 2025
2 parents d85d789 + 735ce81 commit 9b9e1b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Middleware/ForceHttps.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class ForceHttps implements MiddlewareInterface
*/
public function __construct(private array $config, private RouterInterface $router)
{
$this->config = $config;
}

private function setHttpStrictTransportSecurity(
Expand Down
2 changes: 1 addition & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class Module
*/
public function getConfig(): array
{
return include __DIR__ . './../config/module.config.php';
return include __DIR__ . '/../config/module.config.php';
}
}

0 comments on commit 9b9e1b5

Please sign in to comment.