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 : 18.217.237.68
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/Listeners/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/modules/Core/Listeners/UpdatedServicesListen.php
<?php

    namespace Modules\Core\Listeners;

    use App\Notifications\AdminChannelServices;
    use App\Notifications\PrivateChannelServices;
    use App\User;
    use Illuminate\Support\Facades\Auth;
    use Illuminate\Support\Facades\Log;
    use Modules\Core\Events\UpdatedServiceEvent;

    class UpdatedServicesListen
    {
        public function handle(UpdatedServiceEvent $event)
        {
            $services = $event->services;
            if(!empty($services)){
                $updatedBy = User::where('id',$services->update_user)->first();

                if(!empty($services->deleted_at)){
                    $message = __(':title has been deleted by :by', [
                        'title' => $services->title,
                        'status' => $services->status,
                        'by' => !empty($updatedBy) ? $updatedBy->display_name : Auth::user()->display_name
                    ]);
                }else{
                    $message = __(':title was updated to :status by :by', [
                        'title' => $services->title,
                        'status' => $services->status_text,
                        'by' => !empty($updatedBy) ? $updatedBy->display_name : Auth::user()->display_name
                    ]);
                }

                $data = [
                    'id'      => $services->id,
                    'event'   => 'UpdatedServiceEvent',
                    'to'      => 'admin',
                    'name'    => Auth::user()->display_name,
                    'avatar'  => Auth::user()->avatar_url,
                    'link'    => get_link_detail_services($services->type, $services->id, 'index'),
                    'type'    => $services->type,
                    'message' => $message
                ];
                // notify to admin
                Auth::user()->notify(new AdminChannelServices($data));
                // notify to vendor
                $vendor = User::where('id', $services->create_user)->where('status', 'publish')->first();
                if ($vendor and Auth::id() != $services->create_user) {
                    $data['to'] = 'vendor';
                    $data['link'] = get_link_vendor_detail_services($services->type, $services->id, 'index');
                    $vendor->notify(new PrivateChannelServices($data));
                }
            }

        }
    }

Youez - 2016 - github.com/yon3zu
LinuXploit