Skip to content
Snippets Groups Projects
Commit 96c2bbc9 authored by Alex Arnaud's avatar Alex Arnaud
Browse files

hotline #24569 - Repare variable 'import_format' in database

parent 97b9c099
Branches
Tags
3 merge requests!896Master,!850Master,!841Hotline#24569 unable to choice file format
ticket #24569: Répare la liste des format de fichiers dans la variable 'import_format'
......@@ -2,7 +2,7 @@
// Constantes
error_reporting(E_ERROR | E_PARSE);
define("PATCH_LEVEL","233");
define("PATCH_LEVEL","234");
define("APPLI","cosmogramme");
define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs");
......
<?php
$format_liste = "0:Unimarc\r\n1:Ascii tabulé\r\n2:Ascii séparé par des points-virgule\r\n3:Ascii séparé par des \"|\"\r\n4:Xml\r\n5:CSV\r\n6:Marc21\r\n";
$adapter = Zend_Db_Table::getDefaultAdapter();
$adapter->query("UPDATE variables SET liste = '$format_liste' WHERE clef = 'import_format'");
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment