aboutsummaryrefslogtreecommitdiffstats
path: root/php/delete.php
blob: af13a00f65085fcb26acc497f9b5296ff49dda58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
require_once "database.php";
require_once "user.php";
require_once "node.php";

session_start();
$folder=$_POST["folder"];
$filename=$_POST["filename"];
$user=$_SESSION["user_object"];

error_log("someone is trying to delete".$filename);
unlink_from_folder($folder,$filename,$user);
error_log("someone is trying to delete".$filename);

?>