Skip to content

Commit 9b9e1b5

Browse files
authored
Merge pull request #23 from samsonasik/fix-windows-path
Fix windows path include module config
2 parents d85d789 + 735ce81 commit 9b9e1b5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Middleware/ForceHttps.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class ForceHttps implements MiddlewareInterface
2121
*/
2222
public function __construct(private array $config, private RouterInterface $router)
2323
{
24-
$this->config = $config;
2524
}
2625

2726
private function setHttpStrictTransportSecurity(

src/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ class Module
1111
*/
1212
public function getConfig(): array
1313
{
14-
return include __DIR__ . './../config/module.config.php';
14+
return include __DIR__ . '/../config/module.config.php';
1515
}
1616
}

0 commit comments

Comments
 (0)