ActivityPubユニットテストの追加、CURLの変更、認証にログの追加

This commit is contained in:
2025-12-22 23:04:08 +09:00
parent 3b96986a85
commit 05f02e74d5
6 changed files with 110 additions and 78 deletions

View File

@@ -1,8 +1,9 @@
<?php
require_once __DIR__.DIRECTORY_SEPARATOR.'/autoload.php';
define('ROOT', realpath(__DIR__));
require_once ROOT.'/util.php';
require_once ROOT.'/config/config.php';
require_once ROOT.'/util.php';
if (!CURL_ENABLED) define('ACTIVITYPUB_ENABLED', false);
mb_internal_encoding('UTF-8');
header('Content-Type: text/plain; charset=UTF-8');