36 if (!checkRole(
"admin"))
41 $filename = ConnectionManager::escape($_GET[
"filename"]);
50 trace(
"component update log download: filepath:" .
$filepath, 3);
54 header(
"Content-Disposition: attachment;filename=\"" . basename(
$filename) .
".txt\"");
55 header(
"Content-Type: $mimeType");
56 header(
"Content-Length: $size");
61 session_write_close();
FakoliException is the base exception class for all Fakoli errors.
static using()
Import the datamodels, views and manifest for the specified component(s).
static getValue($component, $name)
Retrieve the value of the specified Setting.
if(!checkRole("admin")) $filename