Skip to content

Commit

Permalink
fix xml file loading
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 committed Jul 20, 2023
1 parent ac6d4a5 commit b0f3adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Command/ExApp/Deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
return 2;
}

$infoXml = simplexml_load_file($pathToInfoXml);
$infoXml = simplexml_load_string(file_get_contents($pathToInfoXml));
if ($infoXml === false) {
$output->writeln(sprintf('Failed to load info.xml from %s', $pathToInfoXml));
return 2;
Expand Down

0 comments on commit b0f3adb

Please sign in to comment.