up
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user