Server : LiteSpeed
System : Linux server900.shared.spaceship.host 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User : kvzyqrttyz ( 5084)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/cpanel/ea-wappspector/src/

📁 Create New:
⬆️ Upload File:
Current Dir [ Not Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: FileSystemFactory.php

Path: //opt/cpanel/ea-wappspector/src/FileSystemFactory.php

Size: 364 B

Permissions: 0644

<?php

namespace Plesk\Wappspector;

use League\Flysystem\Filesystem;
use League\Flysystem\Local\LocalFilesystemAdapter;

class FileSystemFactory
{
    public function __invoke(string $path): Filesystem
    {
        $adapter = new LocalFilesystemAdapter($path, null, LOCK_EX, LocalFilesystemAdapter::SKIP_LINKS);

        return new Filesystem($adapter);
    }
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager