viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

add back a line to machine controller defining error_log that accidentally got deleted

Chris Pollett [2023-09-17 20:Sep:th]
add back a line to machine controller defining error_log that accidentally got deleted
Filename
src/controllers/MachineController.php
diff --git a/src/controllers/MachineController.php b/src/controllers/MachineController.php
index 8281e88e1..6f1e08e6b 100644
--- a/src/controllers/MachineController.php
+++ b/src/controllers/MachineController.php
@@ -158,6 +158,7 @@ class MachineController extends Controller implements CrawlConstants
                 }
                 break;
             case 'RestartFetcher':
+                $error_log = C\CRASH_LOG_NAME;
                 $id = empty($_REQUEST['id']) ? 0 :
                     $this->clean($_REQUEST['id'], "int");
                 $msg = "Restarting $channel-Fetcher $id";
ViewGit