Skip to content
B0Bka edited this page Nov 11, 2019 · 2 revisions
\Bitrix\Main\Diag\Debug::writeToFile($request->getPost('step'),'step2 '.date('d-m-Y H:i:s'),'/test/log_parser.txt');
$file = $_SERVER['DOCUMENT_ROOT'] . '/log_parser.txt';
file_put_contents($file, $request->getPost('step'),FILE_APPEND);
Clone this wiki locally