Moved php from cgi-bin to backend

This commit is contained in:
Oleg Sh
2024-10-10 20:17:45 +02:00
parent aac9da9d45
commit 1576a1c6e4
24 changed files with 100 additions and 100 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
include ("../core/config/main.php");
//if ("RdukIxdb0Lxc+uNhgfFXb7ll" == $_POST["notification_secret"])
{
$file = fopen("../" . $g_config['donateTransactions'], "a");
if ($file)
{
fprintf($file, "%d\n", $_POST["amount"]);
fclose($file);
}
}
?>