Added auto-save for graphs. Iteraion 1.

This commit is contained in:
Oleg Sh committed 2025-01-01 20:18:01 +01:00
1 parent 20b8377651
commit 7aa6eb8ed1
14 files changed
+400 -37

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
include ("../core/config/main.php");
include ("saveGraphHelpers.php");
$name = $_GET["name"];
if (isValidName($name) && isAutoSave($name))
{
$xmlFileName = getXMLFileName($name);
if (file_exists($xmlFileName))
{
unlink($xmlFileName);
}
echo ("OK");
}
else
{
echo ("Error");
}
?>