Skip to content

Commit

Permalink
Merge pull request #124 from brefphp/custom-folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jun 30, 2023
2 parents d625dab + c23c203 commit 307a033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/OctaneHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class OctaneHandler extends HttpHandler
{
private OctaneClient $octaneClient;

public function __construct()
public function __construct(?string $path = null)
{
$this->octaneClient = new OctaneClient(
getcwd(),
$path ?? getcwd(),
(bool) ($_ENV['OCTANE_PERSIST_DATABASE_SESSIONS'] ?? false)
);
}
Expand Down

0 comments on commit 307a033

Please sign in to comment.