CMS  Version 3.9
delete.inc File Reference

Go to the source code of this file.

Variables

 $attachment_id = checkNumeric($_GET["attachment_id"])
 
if(! $attachment_id) $attachment = new Attachment($attachment_id)
 
 $dir = $config["attachmentdir"]
 
 $base = $config['uploadbase']
 
 $file = "$base/$dir{$attachment->local_filename}"
 

Variable Documentation

◆ $attachment

if (! $attachment_id) $attachment = new Attachment($attachment_id)

Definition at line 42 of file delete.inc.

◆ $attachment_id

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

Definition at line 36 of file delete.inc.

◆ $base

$base = $config['uploadbase']

Definition at line 45 of file delete.inc.

◆ $dir

$dir = $config["attachmentdir"]

Definition at line 44 of file delete.inc.

◆ $file

$file = "$base/$dir{$attachment->local_filename}"

Definition at line 47 of file delete.inc.