Skip to content

Commit

Permalink
file_get_contents 3
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNadeev committed Mar 27, 2024
1 parent 9fea167 commit 52ad773
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sender.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52ad773

Please sign in to comment.