Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.19.255.50
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
vlucas /
phpdotenv /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Loader
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Regex
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Repository
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Result
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Store
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
Dotenv.php
4.2
KB
-rw-r--r--
2020-11-17 16:24
Validator.php
4.7
KB
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php namespace Dotenv; use Dotenv\Exception\InvalidPathException; use Dotenv\Loader\Loader; use Dotenv\Loader\LoaderInterface; use Dotenv\Repository\RepositoryBuilder; use Dotenv\Repository\RepositoryInterface; use Dotenv\Store\FileStore; use Dotenv\Store\StoreBuilder; class Dotenv { /** * The loader instance. * * @var \Dotenv\Loader\LoaderInterface */ protected $loader; /** * The repository instance. * * @var \Dotenv\Repository\RepositoryInterface */ protected $repository; /** * The store instance. * * @var \Dotenv\Store\StoreInterface */ protected $store; /** * Create a new dotenv instance. * * @param \Dotenv\Loader\LoaderInterface $loader * @param \Dotenv\Repository\RepositoryInterface $repository * @param \Dotenv\Store\StoreInterface|string[] $store * * @return void */ public function __construct(LoaderInterface $loader, RepositoryInterface $repository, $store) { $this->loader = $loader; $this->repository = $repository; $this->store = is_array($store) ? new FileStore($store, true) : $store; } /** * Create a new dotenv instance. * * @param \Dotenv\Repository\RepositoryInterface $repository * @param string|string[] $paths * @param string|string[]|null $names * @param bool $shortCircuit * * @return \Dotenv\Dotenv */ public static function create(RepositoryInterface $repository, $paths, $names = null, $shortCircuit = true) { $builder = StoreBuilder::create()->withPaths($paths)->withNames($names); if ($shortCircuit) { $builder = $builder->shortCircuit(); } return new self(new Loader(), $repository, $builder->make()); } /** * Create a new mutable dotenv instance with default repository. * * @param string|string[] $paths * @param string|string[]|null $names * @param bool $shortCircuit * * @return \Dotenv\Dotenv */ public static function createMutable($paths, $names = null, $shortCircuit = true) { $repository = RepositoryBuilder::create()->make(); return self::create($repository, $paths, $names, $shortCircuit); } /** * Create a new immutable dotenv instance with default repository. * * @param string|string[] $paths * @param string|string[]|null $names * @param bool $shortCircuit * * @return \Dotenv\Dotenv */ public static function createImmutable($paths, $names = null, $shortCircuit = true) { $repository = RepositoryBuilder::create()->immutable()->make(); return self::create($repository, $paths, $names, $shortCircuit); } /** * Read and load environment file(s). * * @throws \Dotenv\Exception\InvalidPathException|\Dotenv\Exception\InvalidFileException * * @return array<string,string|null> */ public function load() { return $this->loader->load($this->repository, $this->store->read()); } /** * Read and load environment file(s), silently failing if no files can be read. * * @throws \Dotenv\Exception\InvalidFileException * * @return array<string,string|null> */ public function safeLoad() { try { return $this->load(); } catch (InvalidPathException $e) { // suppressing exception return []; } } /** * Required ensures that the specified variables exist, and returns a new validator object. * * @param string|string[] $variables * * @return \Dotenv\Validator */ public function required($variables) { return new Validator($this->repository, (array) $variables); } /** * Returns a new validator object that won't check if the specified variables exist. * * @param string|string[] $variables * * @return \Dotenv\Validator */ public function ifPresent($variables) { return new Validator($this->repository, (array) $variables, false); } }