Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+11 -5
View File
@@ -19,6 +19,7 @@ use IPS\Data\Store;
use IPS\File\FileSystem;
use IPS\Http\Url;
use IPS\Output\Plugin\Filesize;
use IPS\Platform\Bridge;
use LogicException;
use OutOfRangeException;
use RuntimeException;
@@ -85,6 +86,8 @@ abstract class File
$return['Ftp'] = 'IPS\\File\\Ftp';
}
$return = Bridge::i()->fileHandlers( $return );
return $return;
}
@@ -1173,13 +1176,16 @@ abstract class File
{
if ( $id == $this->configurationId )
{
$exploded = explode( '_', str_replace( 'filestorage__', '', $method ) );
$classname = "IPS\\{$exploded[0]}\\extensions\\core\\FileStorage\\{$exploded[1]}";
if ( method_exists( $classname, 'settingsUpdated' ) )
$exploded = explode( '_', str_replace( 'filestorage__', '', $method ) );
try
{
$classname::settingsUpdated( $this->configuration );
$classname = Application::getExtensionClass( $exploded[0], 'FileStorage', $exploded[1] );
if ( method_exists( $classname, 'settingsUpdated' ) )
{
$classname::settingsUpdated( $this->configuration );
}
}
catch( OutOfRangeException ){}
}
}