CMS  Version 3.9
download_trace.inc File Reference

Go to the source code of this file.

Variables

if(!checkRole("admin")) if(!Settings::getValue("debug", "enable_trace_file_downloads")) $filename = Settings::getValue("debug", "trace_path")
 
 $filepath = sanitizePath($filename)
 
 $mimetype = "text/plain"
 
 $f = fopen($filepath, "r")
 
 $size = filesize($filepath)
 

Variable Documentation

◆ $f

$f = fopen($filepath, "r")

Definition at line 54 of file download_trace.inc.

◆ $filename

if (!checkRole("admin")) if (!Settings::getValue("debug", "enable_trace_file_downloads")) $filename = Settings::getValue("debug", "trace_path")

Definition at line 46 of file download_trace.inc.

◆ $filepath

$filepath = sanitizePath($filename)

Definition at line 48 of file download_trace.inc.

◆ $mimetype

$mimetype = "text/plain"

Definition at line 51 of file download_trace.inc.

◆ $size

$size = filesize($filepath)

Definition at line 55 of file download_trace.inc.