Fix svg saving.

This commit is contained in:
Oleg Sh
2024-10-11 19:33:03 +02:00
parent 1576a1c6e4
commit 6ea3935543
7 changed files with 9 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ $name = $_GET["name"];
if (isValidName($name))
{
$imageFilename = getSvgFileName($name);
$svgData = $_POST['svgdata'];
$svgData = file_get_contents('php://input');
file_put_contents($imageFilename, $svgData);