36 if (!checkRole(
"admin"))
53 trace(
"trace download: filepath:" .
$filepath, 3);
57 header(
"Content-Disposition: attachment;filename=\"" . basename(
$filename) .
"\"");
58 header(
"Content-Type: $mimeType");
59 header(
"Content-Length: $size");
64 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")) if(!Settings::getValue("debug", "enable_trace_file_downloads")) $filename