aboutsummaryrefslogtreecommitdiffstats
path: root/php/mkdir.php
blob: def17b780ff5a8bf939d80a88dd3778a613ac89e (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();
$parent_directory=$_POST['parent_directory'];
$dirname=$_POST['dirname'];
$user=$_SESSION['user_object'];

error_log("user is creating a directory".$user->username);
create_directory($parent_directory,$dirname,"",$user);


?>