<?php
// Baca file .env secara manual (tanpa library)
$envFile = __DIR__ . '/one.env';
if (file_exists($envFile)) {
    $lines = file($envFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
    foreach ($lines as $line) {
        if (strpos($line, '=') !== false && strpos($line, '#') !== 0) {
            list($key, $value) = explode('=', $line, 2);
            $_ENV[trim($key)] = trim($value);
        }
    }
}

$telegram_id = $_ENV['telegram_id'];
$id_bot = $_ENV['bot_token'];
?>