Преглед на файлове

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

Зареждане…
Отказ
Запис