diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cdeb27b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.log \ No newline at end of file diff --git a/app/app.php b/app/app.php index 41b915e..d0f80d2 100644 --- a/app/app.php +++ b/app/app.php @@ -115,7 +115,7 @@ for ($i = $start; $i < count($sites); $i++) { $set = ContingentManager::getInstance()->checkContingent($contingent); if ($set) { // Заносим в базу - ContingentManager::getInstance()->insertContingent($dbOpendata, $contingent); + // ContingentManager::getInstance()->insertContingent($dbOpendata, $contingent); } else { $log = date('Y-m-d H:i:s') . ' ' . $sites[$i]['org_id'] . ' ' . $sites[$i]['site']; file_put_contents(__DIR__ . '/../error-html.log', $log . PHP_EOL, FILE_APPEND);