Преглед изворни кода

nb_shipments dans import collectivités

master
tibo пре 5 година
родитељ
комит
5fc5065b6e
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      bin/import_01_collectivites.php

+ 2
- 1
bin/import_01_collectivites.php Прегледај датотеку

@ -31,8 +31,9 @@ SMETI_db::$item = SMETI_db::$pdo->lastInsertId();
SMETI_db::$parent = SMETI_db::$item;
echo 'OK'.PHP_EOL;
$counter = 0;
$shipments = json_decode(file_get_contents("../data/json/BMO/01_COLLECTIVITES.json"), true);
$counter = 0;
$nb_shipments = count($shipments);
foreach($shipments as $element)
{
// Gestion d'une barre de progression

Loading…
Откажи
Сачувај