mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-02-16 02:30:51 +00:00
Fix svg saving.
This commit is contained in:
@@ -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