Skip to content

Commit 271a978

Browse files
committed
Remove encoding
1 parent efbfd99 commit 271a978

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
$method = $_SERVER['REQUEST_METHOD'];
1212

1313
$props = array();
14-
$filename = 'properties.txt';
14+
// $filename = 'properties.txt';
15+
$filename = '../easycoder.software.txt';
1516
if (file_exists($filename)) {
1617
$file = fopen($filename, 'r');
1718
while (!feof($file)) {
@@ -174,7 +175,7 @@
174175
$dir = substr($path, 0, $p);
175176
mkdir($dir, 0777, true);
176177
header("Content-Type: application/text");
177-
$content = base64_decode(stripslashes(file_get_contents("php://input")));
178+
$content = stripslashes(file_get_contents("php://input"));
178179
$p = strrpos($path, '.');
179180
$root = substr($path, 0, $p);
180181
$ext = substr($path, $p);

0 commit comments

Comments
 (0)