Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -77,9 +77,13 @@ abstract class File
|
||||
{
|
||||
$return['Database'] = 'IPS\\File\\Database';
|
||||
}
|
||||
|
||||
|
||||
$return['Amazon'] = 'IPS\\File\\Amazon';
|
||||
$return['Backblaze'] = 'IPS\\File\\Backblaze';
|
||||
if ( $current and $current['method'] === 'Backblaze' )
|
||||
{
|
||||
$return['Backblaze'] = 'IPS\\File\\Backblaze';
|
||||
}
|
||||
|
||||
|
||||
if ( $current and $current['method'] === 'Ftp' )
|
||||
{
|
||||
@@ -1278,7 +1282,7 @@ abstract class File
|
||||
{
|
||||
$copyFiles = static::$copyFiles;
|
||||
static::$copyFiles = TRUE;
|
||||
$return = static::create( $this->storageExtension, $this->originalFilename, $this->contents(), $this->container, $this instanceof FileSystem ? ( $this->configuration['dir'] . '/' . ( $this->container ? "{$this->container}/" : '' ) . $this->filename ) : true );
|
||||
$return = static::create( $this->storageExtension, $this->originalFilename, $this->contents(), $this->container, false, $this instanceof FileSystem ? ( $this->configuration['dir'] . '/' . ( $this->container ? "{$this->container}/" : '' ) . $this->filename ) : null );
|
||||
static::$copyFiles = $copyFiles;
|
||||
return $return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user