no need to load .env file for this script
USER already exist by default in environment .env file only used to store gmail and twilio credentials
This commit is contained in:
parent
a65bf494b2
commit
6ec31b425e
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue