Fix FontAwesome path

This commit is contained in:
Toby Zerner 2015-05-06 12:12:22 +09:30
parent c6f368f045
commit bde9bf9378
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
// We want to specify the @fa-font-path variable AFTER we import font awesome
// so that it overrides the default definition.
@import "@{lib-path}/font-awesome/font-awesome.less";
@fa-font-path: "/flarum/fonts";
@fa-font-path: "/assets/fonts";
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);

View File

@ -7,7 +7,7 @@
// We want to specify the @fa-font-path variable AFTER we import font awesome
// so that it overrides the default definition.
@import "@{lib-path}/font-awesome/font-awesome.less";
@fa-font-path: "/flarum/fonts";
@fa-font-path: "/assets/fonts";
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);

View File

@ -17,7 +17,7 @@ class AdminServiceProvider extends ServiceProvider
$this->loadViewsFrom($root.'/views', 'flarum.admin');
$this->publishes([
$root.'/public/fonts' => public_path('flarum/fonts')
$root.'/public/fonts' => public_path('assets/fonts')
]);
include __DIR__.'/routes.php';

View File

@ -17,7 +17,7 @@ class ForumServiceProvider extends ServiceProvider
$this->loadViewsFrom($root.'/views', 'flarum.forum');
$this->publishes([
$root.'/public/fonts' => public_path('flarum/fonts')
$root.'/public/fonts' => public_path('assets/fonts')
]);
include __DIR__.'/routes.php';