mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Convert faac to lib faac
This commit is contained in:
@@ -76,6 +76,12 @@ class patch_370 implements patchInterface
|
|||||||
$delay->nodeValue = min(500, max(50, (int) $delay->nodeValue * 400));
|
$delay->nodeValue = min(500, max(50, (int) $delay->nodeValue * 400));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach ($XPath->query('/record/subdefs/subdefgroup/subdef/acodc') as $acodec) {
|
||||||
|
if ($acodec->nodeValue == 'faac') {
|
||||||
|
$acodec->nodeValue = 'libfaac';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'UPDATE pref SET value = :structure WHERE prop = "structure"';
|
$sql = 'UPDATE pref SET value = :structure WHERE prop = "structure"';
|
||||||
$stmt = $conn->prepare($sql);
|
$stmt = $conn->prepare($sql);
|
||||||
$stmt->execute(array(':structure' => $DOMDocument->saveXML()));
|
$stmt->execute(array(':structure' => $DOMDocument->saveXML()));
|
||||||
|
Reference in New Issue
Block a user