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

Commit

Permalink
Update Configurator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Radovan Kepák committed Nov 1, 2021
1 parent 3314543 commit 5534cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootstrap/Configurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected function getDefaultParameters(): array
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);

$parameters = parent::getDefaultParameters();
$parameters['appDir'] = dirname($trace[2]['file']);
$parameters['appDir'] = dirname($trace[1]['file']);

return $parameters;
}
Expand Down

0 comments on commit 5534cc6

Please sign in to comment.