|
@@ -170,7 +170,7 @@ class AdminServiceProvider extends ServiceProvider
|
|
|
if ($this->app->runningInConsole()) {
|
|
|
$this->publishes([__DIR__.'/../config' => config_path()], 'dcat-admin-config');
|
|
|
if (version_compare($this->app->version(), '9.0.0', '>=')) {
|
|
|
- $this->publishes([__DIR__.'/../resources/lang' => base_path('lang')], 'dcat-admin-lang');
|
|
|
+ $this->publishes([__DIR__.'/../resources/lang' => $this->app->langPath()], 'dcat-admin-lang');
|
|
|
} else {
|
|
|
$this->publishes([__DIR__.'/../resources/lang' => resource_path('lang')], 'dcat-admin-lang');
|
|
|
}
|