Bugfixes Telegram
This commit is contained in:
@@ -14,8 +14,8 @@ require_once __DIR__ . '/../auth_helpers.php';
|
||||
|
||||
$config = require __DIR__ . '/../../config/database.php';
|
||||
$telegramConfig = require __DIR__ . '/../../config/telegram.php';
|
||||
require_once __DIR__ . '/../../scripts/telegram/lib/message_footer.php';
|
||||
require_once __DIR__ . '/../../scripts/telegram/lib/http.php';
|
||||
require_once __DIR__ . '/lib/message_footer.php';
|
||||
require_once __DIR__ . '/lib/http.php';
|
||||
|
||||
$dsn = sprintf(
|
||||
'mysql:host=%s;dbname=%s;charset=%s',
|
||||
|
||||
@@ -6,8 +6,8 @@ error_reporting(E_ALL);
|
||||
|
||||
$config = require __DIR__ . '/../../config/database.php';
|
||||
$telegramConfig = require __DIR__ . '/../../config/telegram.php';
|
||||
require_once __DIR__ . '/../../scripts/telegram/lib/message_footer.php';
|
||||
require_once __DIR__ . '/../../scripts/telegram/lib/http.php';
|
||||
require_once __DIR__ . '/lib/message_footer.php';
|
||||
require_once __DIR__ . '/lib/http.php';
|
||||
|
||||
$dsn = sprintf(
|
||||
'mysql:host=%s;dbname=%s;charset=%s',
|
||||
|
||||
@@ -17,7 +17,7 @@ $rootDir = dirname(__DIR__, 2);
|
||||
$stateFile = __DIR__ . DIRECTORY_SEPARATOR . 'telegram_cron_state.json';
|
||||
$dbConfig = require $rootDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'database.php';
|
||||
$telegramConfig = require $rootDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'telegram.php';
|
||||
require_once __DIR__ . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'message_footer.php';
|
||||
require_once $rootDir . DIRECTORY_SEPARATOR . 'public' . DIRECTORY_SEPARATOR . 'telegram' . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'message_footer.php';
|
||||
|
||||
$GLOBALS['filterColorConfigPath'] = $rootDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'filter_colors.json';
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ declare(strict_types=1);
|
||||
* und Dokumenten. Die Cron-Tasks muessen dadurch keine Request-Details kennen.
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/http.php';
|
||||
require_once dirname(__DIR__, 2) . '/public/telegram/lib/http.php';
|
||||
|
||||
|
||||
function telegramHttpPostMultipart(string $url, array $fields, string $fileField, string $filePath, ?string $fileName = null): array
|
||||
|
||||
Reference in New Issue
Block a user