!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/laravel/framework/src/Illuminate/Translation/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Translation;

use 
Illuminate\Filesystem\Filesystem;

class 
FileLoader implements LoaderInterface
{
    
/**
     * The filesystem instance.
     *
     * @var \Illuminate\Filesystem\Filesystem
     */
    
protected $files;

    
/**
     * The default path for the loader.
     *
     * @var string
     */
    
protected $path;

    
/**
     * All of the namespace hints.
     *
     * @var array
     */
    
protected $hints = [];

    
/**
     * Create a new file loader instance.
     *
     * @param  \Illuminate\Filesystem\Filesystem  $files
     * @param  string  $path
     * @return void
     */
    
public function __construct(Filesystem $files$path)
    {
        
$this->path $path;
        
$this->files $files;
    }

    
/**
     * Load the messages for the given locale.
     *
     * @param  string  $locale
     * @param  string  $group
     * @param  string  $namespace
     * @return array
     */
    
public function load($locale$group$namespace null)
    {
        if (
is_null($namespace) || $namespace == '*') {
            return 
$this->loadPath($this->path$locale$group);
        }

        return 
$this->loadNamespaced($locale$group$namespace);
    }

    
/**
     * Load a namespaced translation group.
     *
     * @param  string  $locale
     * @param  string  $group
     * @param  string  $namespace
     * @return array
     */
    
protected function loadNamespaced($locale$group$namespace)
    {
        if (isset(
$this->hints[$namespace])) {
            
$lines $this->loadPath($this->hints[$namespace], $locale$group);

            return 
$this->loadNamespaceOverrides($lines$locale$group$namespace);
        }

        return [];
    }

    
/**
     * Load a local namespaced translation group for overrides.
     *
     * @param  array  $lines
     * @param  string  $locale
     * @param  string  $group
     * @param  string  $namespace
     * @return array
     */
    
protected function loadNamespaceOverrides(array $lines$locale$group$namespace)
    {
        
$file "{$this->path}/vendor/{$namespace}/{$locale}/{$group}.php";

        if (
$this->files->exists($file)) {
            return 
array_replace_recursive($lines$this->files->getRequire($file));
        }

        return 
$lines;
    }

    
/**
     * Load a locale from a given path.
     *
     * @param  string  $path
     * @param  string  $locale
     * @param  string  $group
     * @return array
     */
    
protected function loadPath($path$locale$group)
    {
        if (
$this->files->exists($full "{$path}/{$locale}/{$group}.php")) {
            return 
$this->files->getRequire($full);
        }

        return [];
    }

    
/**
     * Add a new namespace to the loader.
     *
     * @param  string  $namespace
     * @param  string  $hint
     * @return void
     */
    
public function addNamespace($namespace$hint)
    {
        
$this->hints[$namespace] = $hint;
    }
}

:: 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.0156 ]--