datein hinzufügen

This commit is contained in:
tbS
2025-08-02 22:24:03 +02:00
commit 938d485253
129 changed files with 37532 additions and 0 deletions

16
includes/misc/log.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
namespace misc\logging;
use misc\etc;
use misc\mysql;
function deleteAll($secret = null)
{
$query = mysql\query("DELETE FROM `logs` WHERE `logapp` = ?",[$secret ?? $_SESSION['app']]);
if ($query->affected_rows > 0) {
return 'success';
} else {
return 'failure';
}
}