gitignore

This commit is contained in:
Alexander 2024-08-16 14:08:52 +03:00
parent 436c733a29
commit f304814043
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.log

View File

@ -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);