Skip to content

Commit

Permalink
Merge branch '4.3-dev' into upd-fail-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HLeithner committed Sep 13, 2023
2 parents ba11ab4 + e0fce25 commit 509d5fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installation/src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected function doExecute(InputInterface $input, OutputInterface $output): in
foreach ($files as $step => $schema) {
$serverType = $db->getServerType();

if (\in_array($step, ['custom1', 'custom2']) && !is_file('sql/' . $serverType . '/' . $schema . '.sql')) {
if (\in_array($step, ['custom1', 'custom2']) && !is_file(JPATH_INSTALLATION . '/sql/' . $serverType . '/' . $schema . '.sql')) {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion installation/src/Controller/InstallationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function populate()
$schema = $files[$step];
$serverType = $db->getServerType();

if (in_array($step, ['custom1', 'custom2']) && !is_file('sql/' . $serverType . '/' . $schema . '.sql')) {
if (in_array($step, ['custom1', 'custom2']) && !is_file(JPATH_INSTALLATION . '/sql/' . $serverType . '/' . $schema . '.sql')) {
$this->sendJsonResponse($r);

return;
Expand Down

0 comments on commit 509d5fb

Please sign in to comment.