[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.140: ~ $
<?php

declare(strict_types=1);

namespace League\Flysystem\UrlGeneration;

use League\Flysystem\Config;
use League\Flysystem\UnableToGeneratePublicUrl;

final class ChainedPublicUrlGenerator implements PublicUrlGenerator
{
    /**
     * @param PublicUrlGenerator[] $generators
     */
    public function __construct(private iterable $generators)
    {
    }

    public function publicUrl(string $path, Config $config): string
    {
        foreach ($this->generators as $generator) {
            try {
                return $generator->publicUrl($path, $config);
            } catch (UnableToGeneratePublicUrl) {
            }
        }

        throw new UnableToGeneratePublicUrl('No supported public url generator found.', $path);
    }
}

Filemanager

Name Type Size Permission Actions
ChainedPublicUrlGenerator.php File 747 B 0644
PrefixPublicUrlGenerator.php File 499 B 0644
PublicUrlGenerator.php File 313 B 0644
ShardedPrefixPublicUrlGenerator.php File 956 B 0644
TemporaryUrlGenerator.php File 377 B 0644