mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-22 08:08:52 +00:00
Fix svg saving.
This commit is contained in:
1 parent
1576a1c6e4
commit
6ea3935543
7 files changed
+9
-10
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user