Skip to content

Commit

Permalink
Tap base path
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Feb 10, 2024
1 parent ad2e045 commit 6db98ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ class DocumentationIntelligence
public function __construct()
{
$this->kernel = new HydeKernel(realpath(__DIR__.'/../../'));
$this->app = require_once __DIR__.'/../../app/bootstrap.php';
$this->app = tap(require_once __DIR__ . '/../../app/bootstrap.php', function (Application $app) {
$app->setBasePath(__DIR__ . '/../../');
});

HydeKernel::setInstance($this->kernel);
}
Expand Down

0 comments on commit 6db98ca

Please sign in to comment.