mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 03:11:01 +08:00
Publish core assets when migrating
This commit is contained in:
parent
c9c9af195c
commit
ff22b8abdc
|
@ -74,5 +74,12 @@ class MigrateCommand extends AbstractCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->container->make('Flarum\Settings\SettingsRepositoryInterface')->set('version', $this->container->version());
|
$this->container->make('Flarum\Settings\SettingsRepositoryInterface')->set('version', $this->container->version());
|
||||||
|
|
||||||
|
$this->info('Publishing assets...');
|
||||||
|
|
||||||
|
$this->container->make('files')->copyDirectory(
|
||||||
|
base_path().'/vendor/components/font-awesome/webfonts',
|
||||||
|
public_path().'/assets/fonts'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user