Perbaiki .gitignore agar log dan file sensitif tidak ikut commit
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
// include "../manjapro-project/config/connect.php";
|
||||
include "../config/connect.php";
|
||||
include __DIR__ . "/../webhook_cloud_api/send_to_app2.php";
|
||||
|
||||
$stmt = $pdo->prepare("SELECT * FROM whatsapp_cloud_api GROUP BY id_data_server");
|
||||
$stmt->execute();
|
||||
@@ -55,6 +56,12 @@ foreach ($whatsapp as $waKey) {
|
||||
echo "Gagal mengirim pesan Cloud API Official ID {$pesan['id']}, response: $response<br>";
|
||||
}
|
||||
}
|
||||
|
||||
// kirim ke aplikasi 2
|
||||
forwardToApp2([
|
||||
"data" => $data,
|
||||
"respon" => $response
|
||||
]);
|
||||
|
||||
curl_close($ch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user