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;