1
0
mirror of https://github.com/flarum/core.git synced 2025-07-18 15:21:16 +02:00

Fix installation

This commit is contained in:
Toby Zerner
2015-10-11 10:05:40 +10:30
parent 6f1c46819e
commit 0b888ea342
3 changed files with 5 additions and 3 deletions

View File

@@ -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);