initial commit

This commit is contained in:
2021-12-20 12:50:53 +01:00
commit 839913d51a
51 changed files with 13051 additions and 0 deletions

17
web/scan.php Normal file
View File

@ -0,0 +1,17 @@
<?php
include_once('template.inc');
include_once ('store.inc');
if (isset($_POST['content'])){
$m = isset($_POST['manual']);
if (isset($_POST['idtype']) && $_POST['idtype'] === 'moly'){
StoreMoly::save($_POST['content'],$m);
} else{
Store::save($_POST['content'],$m);
}
}else {
header("Location: /index.php");
exit();
}
?>