1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 22:25:31 +02:00

More code cleanup

This commit is contained in:
Cameron
2016-12-02 13:14:50 -08:00
parent e22eb860f1
commit 4f4021a517
3 changed files with 165 additions and 122 deletions

View File

@@ -33,7 +33,7 @@ if(is_array($_POST['delete']))
$f = explode("_", $fname);
if($f[1] == USERID)
{
$path = e_UPLOAD.$fname;
$path = e_UPLOAD.e107::getParser()->filter($fname,'w');
if(unlink($path) == TRUE)
{
$msg = LAN_FORUM_7002.": $path";