Skip to content

Commit

Permalink
[cdsp.php] Fix call to cdsp_config_update.py
Browse files Browse the repository at this point in the history
Enclose $configFullPath in double quotes
  • Loading branch information
moodeaudio committed Feb 6, 2025
1 parent b8a7060 commit 6c34be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/inc/cdsp.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function checkConfigFile($configName) {

function upgradeConfigFile($configName) {
$configFullPath = $this->CAMILLA_CONFIG_DIR . '/configs/' . $configName;
exec("/var/www/util/cdsp_config_update.py ".$configFullPath, $output, $exitcode);
exec('/var/www/util/cdsp_config_update.py "' . $configFullPath . '"', $output, $exitcode);
return $this->checkConfigFile($configName);
}

Expand Down

0 comments on commit 6c34be8

Please sign in to comment.