CMS  Version 3.9
download_update_log.inc File Reference

Go to the source code of this file.

Variables

 $component_update_log_id = checkNumeric($_GET["component_update_log_id"])
 
 $log = new ComponentUpdateLog($component_update_log_id)
 
 $dir = Settings::getValue("component", "upgrade_output_path") . DIRECTORY_SEPARATOR
 
 $filepath = sanitizePath($dir . $log->filename)
 
 $mimeType = getMimeType($log->filename)
 
 $f = fopen($filepath, "r")
 
 $size = filesize($filepath)
 

Variable Documentation

◆ $component_update_log_id

$component_update_log_id = checkNumeric($_GET["component_update_log_id"])

Definition at line 38 of file download_update_log.inc.

◆ $dir

$dir = Settings::getValue("component", "upgrade_output_path") . DIRECTORY_SEPARATOR

Definition at line 42 of file download_update_log.inc.

◆ $f

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

Definition at line 48 of file download_update_log.inc.

◆ $filepath

$filepath = sanitizePath($dir . $log->filename)

Definition at line 44 of file download_update_log.inc.

◆ $log

$log = new ComponentUpdateLog($component_update_log_id)

Definition at line 40 of file download_update_log.inc.

◆ $mimeType

$mimeType = getMimeType($log->filename)

Definition at line 45 of file download_update_log.inc.

◆ $size

$size = filesize($filepath)

Definition at line 49 of file download_update_log.inc.