__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
class adminerPlugin extends PluginBase{
function __construct(){
parent::__construct();
}
public function regiest(){
$this->hookRegiest(array(
'templateCommonHeader' => 'adminerPlugin.addMenu'
));
}
public function addMenu(){
$config = $this->getConfig();
$subMenu = $config['menuSubMenu'];
navbar_menu_add(array(
'name' => 'Adminer',
'icon' => $this->appIcon(),
'url' => $this->pluginApi,
'target' => '_blank',
'subMenu' => $subMenu,
'use' => '1'
));
}
public function index(){
header('Location: '.$this->pluginHost.'adminer/');
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| adminer | Folder | 6775 |
|
|
| i18n | Folder | 6775 |
|
|
| static | Folder | 6775 |
|
|
| app.php | File | 587 B | 0775 |
|
| package.json | File | 682 B | 0775 |
|