Fifth pass at adding key files

This commit is contained in:
dsainty
2024-06-17 22:42:14 +10:00
parent 67ccdbcc34
commit 9797a6824a
535 changed files with 95045 additions and 0 deletions

View File

@ -0,0 +1,31 @@
<?php
include_once './config.php';
include_once './models/services/FrameService.php';
if (!is_updater())
return header('location:http://www.slowtwitch.com');
if ($_SERVER['REQUEST_METHOD'] == 'POST')
{
if (is_updater ())
{
$frame_id = $_POST['id'];
$frameService = new FrameService();
$item = $frameService->getFrameByID($frame_id);
$item->approved = 1;
$frameService->updateFrame($item);
}
}
else
{
echo $_SERVER['REQUEST_METHOD'];
}
header('location:frames.php');
?>