Skip to content

Commit

Permalink
bisheng: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhtengw committed Jan 16, 2020
1 parent 3218cfd commit 2e23d01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bisheng/php/handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ function saveBack() {
echo "Bad Request";
}
$data = json_decode($body_stream, TRUE);
//file_put_contents('/mnt/dump/public/data.txt',$body_stream);
//file_put_contents('/mnt/dump/public/docURL.txt',$_GET['api'].$data['data']["docURL"]);
if (!$data['data']["unchanged"]){
if (($new_office_content = file_get_contents($_GET['api'].$data['data']["docURL"]))===FALSE){
echo "Bad Response";
Expand All @@ -32,4 +30,4 @@ function saveBack() {
}
}
echo "{\"error\":0}";
}
}

0 comments on commit 2e23d01

Please # to comment.