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

+6 -2
View File
@@ -8,6 +8,7 @@
* @since 11 Feb 2016
*/
use IPS\Application;
use IPS\Dispatcher\Front;
use IPS\File;
use IPS\Output;
@@ -20,8 +21,11 @@ try
{
/* Get the extension */
list( $app, $extension ) = explode( '_', Request::i()->storage );
$classname = 'IPS\\' . $app . '\extensions\core\FileStorage\\' . $extension;
if ( !class_exists( $classname ) )
try
{
$classname = Application::getExtensionClass( $app, 'FileStorage', $extension );
}
catch( OutOfRangeException )
{
throw new RuntimeException;
}