mirror of
https://github.com/dyzulk/portfolio-html.git
synced 2026-01-26 13:31:59 +07:00
Update and rename index.html to index.php
This commit is contained in:
committed by
GitHub
parent
2c2dc3e37c
commit
0dddbf5f57
@@ -15,6 +15,15 @@
|
|||||||
<link href='https://cdn.jsdelivr.net/npm/boxicons@2.0.5/css/boxicons.min.css' rel='stylesheet'>
|
<link href='https://cdn.jsdelivr.net/npm/boxicons@2.0.5/css/boxicons.min.css' rel='stylesheet'>
|
||||||
|
|
||||||
<title>Muhammad Herdy Iskandar</title>
|
<title>Muhammad Herdy Iskandar</title>
|
||||||
|
<?php
|
||||||
|
// Load nilai variabel dari berkas .env
|
||||||
|
$botToken = getenv('TELEGRAM_BOT_TOKEN');
|
||||||
|
$botGrup = getenv('TELEGRAM_BOT_GRUP');
|
||||||
|
|
||||||
|
// Kodekan nilai variabel untuk digunakan dalam JavaScript
|
||||||
|
$encodedBotToken = json_encode($botToken);
|
||||||
|
$encodedBotGrup = json_encode($botGrup);
|
||||||
|
?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--===== HEADER =====-->
|
<!--===== HEADER =====-->
|
||||||
Reference in New Issue
Block a user