OpenCart 🇺🇦

Схема

public mixed outputLog ( )

Аргументы

Аргумент Возможный тип Описание
У метода нет аргументов

Описание

Метод пока еще не документирован.

Исходный код

header('Pragma: public');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Cache-Control: private',false);
header('Content-Type: application/force-download');
header('Content-Length: ' . filesize(DIR_LOGS."ebaylog.log"));
header('Content-Disposition: attachment; filename="ebaylog.log"');
header('Content-Transfer-Encoding: binary');
header('Connection: close');
readfile(DIR_LOGS."ebaylog.log");
exit();