Commit 72e5d6a2 authored by Paarth's avatar Paarth

filesave.php updated

parent 30c684ba
...@@ -5,7 +5,7 @@ $postData = file_get_contents("php://input"); ...@@ -5,7 +5,7 @@ $postData = file_get_contents("php://input");
if(isset($postData) && !empty($postData)) { if(isset($postData) && !empty($postData)) {
$request = json_decode($postData); $request = json_decode($postData);
$username = trim($request->username); $username = trim($request->File.id);
$data = trim($request->File.text); $data = trim($request->File.text);
$filename = trim($request->File.filename); $filename = trim($request->File.filename);
$lang = trim($request->File.language); $lang = trim($request->File.language);
......
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