load phpenv

This commit is contained in:
Yudi Purwanto 2015-12-01 16:33:14 +07:00 committed by RandomlyKnighted
parent 9fe5471499
commit 13585ce3e8

View File

@ -3,6 +3,9 @@
require 'vendor/autoload.php';
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();
use Bestnetwork\Telnet\TelnetClient;
(strpos(exec('who'), getenv('USER')) !== false) or exit('no session');