Version 5.0.0 beta 2

This commit is contained in:
Neo committed 2025-12-19 16:39:01 -08:00
1 parent 15c7beabc5
commit f61b0da85d
181 files changed
+3182 -1533

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ class Amazon extends File
) );
/* Turn on task */
Db::i()->update( 'core_tasks', array( 'enabled' => 1 ), array( '`key`=?', 's3_delete' ) );
Db::i()->update( 'core_tasks', array( 'enabled' => 1 ), array( '`key`=?', 's3Delete' ) );
/* Log deletion request */
$realContainer = $this->container;
+6 -1
View File
@@ -51,6 +51,11 @@ abstract class File
* @var string|null
*/
public ?string $contextInfo;
/**
* @var mixed|null
*/
public mixed $screenshot = null;
/**
* Get available storage handlers
@@ -402,7 +407,7 @@ abstract class File
* @throws DomainException
* @throws RuntimeException
*/
public static function createFromUploads( string $storageLocation, ?string $fieldName=NULL, ?array $allowedFileTypes=NULL, int|float $maxFileSize=NULL, ?int $totalMaxSize=NULL, int $flags=0, array|callable|null $callback=NULL, ?string $container=NULL, bool $obscure=TRUE ) : array
public static function createFromUploads( string $storageLocation, ?string $fieldName=NULL, ?array $allowedFileTypes=NULL, int|float $maxFileSize=NULL, int|float $totalMaxSize=NULL, int $flags=0, array|callable|null $callback=NULL, ?string $container=NULL, bool $obscure=TRUE ) : array
{
/* Do we have any uploads? */
if( empty( $_FILES ) )