Commit 77a949c6 authored by Adarsh's avatar Adarsh

register minor

parent 8ae277a8
......@@ -35,7 +35,9 @@ if (isset($postData) && !empty($postData)) {
'username' => $username
];
mkdir('../users/' . $authData['username'], 0777, true);
mkdir('../users/' . $authData['username'] . "/attempts", 0777, true);
mkdir('../user_execs/' . $authData['username'] . "/temp_sfcode_139213617964", 0777, true);
mkdir('../user_execs/' . $authData['username'] . "/attempts", 0777, true);
$mysqli->query($sql1);
echo json_encode($authData);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment