mirror of
https://github.com/flarum/core.git
synced 2025-07-18 15:21:16 +02:00
Fix installation
This commit is contained in:
@@ -246,7 +246,7 @@ class Migrator
|
||||
{
|
||||
$file = implode('_', array_slice(explode('_', $file), 4));
|
||||
|
||||
$class = ($extension ? Str::studly($extension) : 'Flarum\\Core') . '\\Migration\\';
|
||||
$class = ($extension ? str_replace('-', '\\', $extension) : 'Flarum\\Core') . '\\Migration\\';
|
||||
|
||||
$class .= Str::studly($file);
|
||||
|
||||
|
Reference in New Issue
Block a user