From aa9474e8615c36f9eb4c30828e81dd53e2dd7e52 Mon Sep 17 00:00:00 2001 From: "Satrya.IY29" Date: Tue, 9 Jun 2026 12:15:38 +0000 Subject: [PATCH] Update ambil.php --- ambil.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ambil.php b/ambil.php index 8a28ad7..00a2f96 100644 --- a/ambil.php +++ b/ambil.php @@ -1,4 +1,11 @@ "; echo "DATABASE SERVER\n"; @@ -10,13 +17,6 @@ while($r = mysqli_fetch_assoc($q)){ exit; -error_reporting(E_ALL); -ini_set('display_errors', 1); -header('Content-Type: application/json; charset=UTF-8'); - -include 'auth.php'; // Middleware auth -include 'koneksi.php'; - if (!$conn) { echo json_encode(array("status" => "error", "message" => "Gagal konek DB")); exit;