menambahkan fitur login dan edit data

This commit is contained in:
powji17
2026-06-10 16:02:04 +07:00
parent 64ca4e3565
commit 7c1b4375e7
17 changed files with 1201 additions and 67 deletions
@@ -1,4 +1,7 @@
<?php
require_once '../../auth.php';
requireRole('admin', 'operator');
header('Content-Type: application/json');
$conn = new mysqli('localhost', 'root', '', 'webgis');
$data = json_decode(file_get_contents('php://input'), true);