TASK: Fix escaping

This commit is contained in:
Daniel Siepmann 2017-05-16 13:29:09 +02:00
parent 7b23a82adc
commit c62f5e9712
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -70,7 +70,7 @@ class ReplaceNameSpaceImport extends Command
$this->output->writeln("LC_ALL=C sed -i '' 's#Tx_{$extName}_ViewHelpers#{$vendor}\\\\{$extName}\\\\ViewHelpers#' `ag 'Tx_{$extName}_ViewHelpers' --html -l`;"); $this->output->writeln("LC_ALL=C sed -i '' 's#Tx_{$extName}_ViewHelpers#{$vendor}\\\\{$extName}\\\\ViewHelpers#' `ag 'Tx_{$extName}_ViewHelpers' --html -l`;");
} }
if ($this->input->getOption('hide-sql') == false) { if ($this->input->getOption('hide-sql') == false) {
$this->output->writeln("UPDATE tt_content SET bodytext = replace(bodytext, 'Tx_{$extName}_ViewHelpers', '{$vendor}\\{$extName}\\ViewHelpers') WHERE bodytext LIKE '%Tx_{$extName}_ViewHelpers%';"); $this->output->writeln("UPDATE tt_content SET bodytext = replace(bodytext, 'Tx_{$extName}_ViewHelpers', '{$vendor}\\\\{$extName}\\\\ViewHelpers') WHERE bodytext LIKE '%Tx_{$extName}_ViewHelpers%';");
} }
} }