ソースを参照

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

読み込み中…
キャンセル
保存