gitignore
This commit is contained in:
parent
436c733a29
commit
f304814043
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.log
|
@ -115,7 +115,7 @@ for ($i = $start; $i < count($sites); $i++) {
|
|||||||
$set = ContingentManager::getInstance()->checkContingent($contingent);
|
$set = ContingentManager::getInstance()->checkContingent($contingent);
|
||||||
if ($set) {
|
if ($set) {
|
||||||
// Заносим в базу
|
// Заносим в базу
|
||||||
ContingentManager::getInstance()->insertContingent($dbOpendata, $contingent);
|
// ContingentManager::getInstance()->insertContingent($dbOpendata, $contingent);
|
||||||
} else {
|
} else {
|
||||||
$log = date('Y-m-d H:i:s') . ' ' . $sites[$i]['org_id'] . ' ' . $sites[$i]['site'];
|
$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);
|
file_put_contents(__DIR__ . '/../error-html.log', $log . PHP_EOL, FILE_APPEND);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user