update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
@@ -47,12 +47,12 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
public function composer()
|
||||
{
|
||||
View::composer('themes.default1.update.notification', function () {
|
||||
\View::composer('themes.default1.update.notification', function () {
|
||||
$notification = new BarNotification();
|
||||
$data = [
|
||||
'data' => $notification->get(),
|
||||
$not = [
|
||||
'notification' => $notification->where('value','!=','')->get(),
|
||||
];
|
||||
view()->share($data);
|
||||
view()->share($not);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@@ -18,7 +18,10 @@ class ConfigServiceProvider extends ServiceProvider
|
||||
public function register()
|
||||
{
|
||||
config([
|
||||
'lfm.images_url' => url('photos').'/',
|
||||
'lfm.images_url' => url('uploads').'/',
|
||||
'lfm.images_dir' => 'public/uploads/',
|
||||
'lfm.files_url' => url('files').'/',
|
||||
'lfm.files_dir' => '/files/',
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user