Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/laminas/laminas-diactoros/src/Exception/UploadedFileErrorException.php
Назад
<?php declare(strict_types=1); namespace Laminas\Diactoros\Exception; use RuntimeException; use function sprintf; class UploadedFileErrorException extends RuntimeException implements ExceptionInterface { public static function forUnmovableFile(): self { return new self('Error occurred while moving uploaded file'); } public static function dueToStreamUploadError(string $error): self { return new self(sprintf( 'Cannot retrieve stream due to upload error: %s', $error )); } public static function dueToUnwritablePath(): self { return new self('Unable to write to designated path'); } public static function dueToUnwritableTarget(string $targetDirectory): self { return new self(sprintf( 'The target directory `%s` does not exist or is not writable', $targetDirectory )); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка