瀏覽代碼

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…
取消
儲存