Debug
This commit is contained in:
parent
1cbec888f6
commit
94748d4ea0
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/php
|
#!/usr/bin/php
|
||||||
<?php
|
<?php
|
||||||
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
//error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
|
||||||
|
|
||||||
// Define path to application directory
|
// Define path to application directory
|
||||||
defined('APPLICATION_PATH')
|
defined('APPLICATION_PATH')
|
||||||
@ -376,7 +376,9 @@ foreach($tabExtract as $key)
|
|||||||
$keys = call_user_func($key.'Entete', $values);
|
$keys = call_user_func($key.'Entete', $values);
|
||||||
foreach($keys as $item){
|
foreach($keys as $item){
|
||||||
$tabEntete[] = $item;
|
$tabEntete[] = $item;
|
||||||
}
|
}
|
||||||
|
} elseif ( in_array($key, array('siren', 'nic', 'ref', 'siret')) ) {
|
||||||
|
$tabEntete[] = $key;
|
||||||
} else {
|
} else {
|
||||||
$tabEntete[] = $dico->getDicoLib($key);
|
$tabEntete[] = $dico->getDicoLib($key);
|
||||||
}
|
}
|
||||||
@ -531,6 +533,10 @@ foreach($tabIdentifiant as $item)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print_r($tabEntete);
|
||||||
|
print_r($tabData);
|
||||||
|
exit;
|
||||||
|
|
||||||
//Trier pour la sortie
|
//Trier pour la sortie
|
||||||
$tabSortie = array();
|
$tabSortie = array();
|
||||||
foreach($tabEntete as $key){
|
foreach($tabEntete as $key){
|
||||||
|
Loading…
Reference in New Issue
Block a user