This commit is contained in:
lizandrogd
2026-01-21 02:22:29 -05:00
parent 3fffb0d023
commit b1961f0116
35 changed files with 1006 additions and 122 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
require_once __DIR__ . '/../config/config_enhanced.php';
require_once __DIR__ . '/../config/config.php';
require_once __DIR__ . '/../services/WhatsAppService.php';
require_once __DIR__ . '/../services/BotService.php';
ini_set('display_errors', 1);
error_reporting(E_ALL);
try {
$s = new WhatsAppService();
echo "WhatsAppService OK\n";
} catch (Throwable $t) {
echo "WhatsAppService ERR: " . $t->getMessage() . "\n";
echo $t->getTraceAsString() . "\n";
}
try {
$b = new BotService();
echo "BotService OK\n";
} catch (Throwable $t) {
echo "BotService ERR: " . $t->getMessage() . "\n";
echo $t->getTraceAsString() . "\n";
}