From 52ad773e09d44cc398670f01a6833ffbc5167f52 Mon Sep 17 00:00:00 2001 From: MaxNadeev Date: Wed, 27 Mar 2024 23:54:47 +0300 Subject: [PATCH] file_get_contents 3 --- sender.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sender.php b/sender.php index 4bae281..6e7adfc 100644 --- a/sender.php +++ b/sender.php @@ -43,9 +43,9 @@ $conststxt = file_get_contents('consts.txt'); $consts = explode("\n", $conststxt); -$apiToken = $consts[0]; -$owner = $consts[1]; -$dev = $consts[2]; +$apiToken = substr($consts[0], 0, -1); +$owner = substr($consts[1], 0, -1); +$dev = substr($consts[2], 0, -1); echo "0: "."a"."b"; echo "1: ".$owner.$dev.$apiToken;