Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
router factory fixed for the sites that runs under different folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Oct 17, 2017
1 parent e8c2b97 commit 4e14a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/RouterFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function __invoke(ContainerInterface $container, $requestedName, array $o
$config['app']['default_return_type'] ?? Router::HTML,
$request->getMethod(),
$request->getUri()->getPath(),
'',
$config['app']['cache_file']
$config['app']['folder'] ?? '',
$config['app']['cache_file'] ?? ''
);
return $this->getRouter();
}
Expand Down

0 comments on commit 4e14a0c

Please sign in to comment.