!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/vlucas/phpdotenv/src/   drwxr-xr-x
Free 117.06 GB of 200.55 GB (58.37%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Dotenv.php (1.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Dotenv;

/**
 * This is the dotenv class.
 *
 * It's responsible for loading a `.env` file in the given directory and
 * setting the environment vars.
 */
class Dotenv
{
    
/**
     * The file path.
     *
     * @var string
     */
    
protected $filePath;

    
/**
     * The loader instance.
     *
     * @var \Dotenv\Loader|null
     */
    
protected $loader;

    
/**
     * Create a new dotenv instance.
     *
     * @param string $path
     * @param string $file
     *
     * @return void
     */
    
public function __construct($path$file '.env')
    {
        
$this->filePath $this->getFilePath($path$file);
        
$this->loader = new Loader($this->filePathtrue);
    }

    
/**
     * Load environment file in given directory.
     *
     * @return array
     */
    
public function load()
    {
        return 
$this->loadData();
    }

    
/**
     * Load environment file in given directory.
     *
     * @return array
     */
    
public function overload()
    {
        return 
$this->loadData(true);
    }

    
/**
     * Returns the full path to the file.
     *
     * @param string $path
     * @param string $file
     *
     * @return string
     */
    
protected function getFilePath($path$file)
    {
        if (!
is_string($file)) {
            
$file '.env';
        }

        
$filePath rtrim($pathDIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.$file;

        return 
$filePath;
    }

    
/**
     * Actually load the data.
     *
     * @param bool $overload
     *
     * @return array
     */
    
protected function loadData($overload false)
    {
        
$this->loader = new Loader($this->filePath, !$overload);

        return 
$this->loader->load();
    }

    
/**
     * Required ensures that the specified variables exist, and returns a new validator object.
     *
     * @param string|string[] $variable
     *
     * @return \Dotenv\Validator
     */
    
public function required($variable)
    {
        return new 
Validator((array) $variable$this->loader);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0135 ]--