Files
fossbilling-mailgateway/tools/setup.php
T

13 lines
264 B
PHP

<?php
declare(strict_types=1);
if (PHP_SAPI !== 'cli') {
http_response_code(404);
exit;
}
require dirname(__DIR__, 3) . '/load.php';
$di['mod_service']('mailgateway')->setup();
echo "Mail Gateway tables and sender-mismatch email template are ready.\n";