mirror of
https://github.com/flarum/core.git
synced 2025-08-03 06:57:54 +02:00
Publish core assets when migrating
This commit is contained in:
@@ -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'
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user