Skip to content

Commit 17a16a7

Browse files
committed
Merge pull request NARKOZ#82 from zhiephie/patch-1
Patch 1
2 parents 7dfbc71 + c989c42 commit 17a16a7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

php/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"require": {
3-
"bestnetwork/telnet": "^1.0"
3+
"bestnetwork/telnet": "^1.0",
4+
"vlucas/phpdotenv": "^2.0"
45
}
56
}

php/fucking_coffee.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
require 'vendor/autoload.php';
55

6+
$dotenv = new Dotenv\Dotenv(__DIR__);
7+
$dotenv->load();
8+
69
use Bestnetwork\Telnet\TelnetClient;
710

811
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session');

0 commit comments

Comments
 (0)