up
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
* Fecha: 13 de noviembre de 2025
|
||||
*/
|
||||
|
||||
// Asegurar que las funciones de configuración estén cargadas si este archivo
|
||||
// se incluye directamente sin pasar por `config.php`.
|
||||
if (!function_exists('getWhatsAppConfigFromDB')) {
|
||||
$possible = __DIR__ . '/../config/config.php';
|
||||
if (file_exists($possible)) {
|
||||
require_once $possible;
|
||||
}
|
||||
}
|
||||
|
||||
class WhatsAppService
|
||||
{
|
||||
private $token;
|
||||
|
||||
Reference in New Issue
Block a user