diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 3bd3c81..affd6da 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -17,7 +17,7 @@ class RouteServiceProvider extends ServiceProvider * * @var string */ - public const HOME = '/home'; + public const HOME = '/'; /** * The controller namespace for the application. diff --git a/config/app.php b/config/app.php index ad8dd5c..062fc92 100644 --- a/config/app.php +++ b/config/app.php @@ -13,8 +13,8 @@ return [ | */ - 'name' => env('APP_NAME', 'phpLDAPadmin'), - 'name_html_long' => env('APP_NAME_HTML_LONG', 'phpLDAPadmin'), + 'name' => 'PLA', + 'name_html_long' => 'phpLDAPadmin', 'version' => trim(file_get_contents(__DIR__.'/../public/VERSION')), /* diff --git a/htdocs/images/favicon.ico b/htdocs/images/favicon.ico deleted file mode 100644 index 7865d94..0000000 Binary files a/htdocs/images/favicon.ico and /dev/null differ diff --git a/public/favicon.ico b/public/favicon.ico index e69de29..7865d94 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/resources/themes/architect/views/layouts/partials/htmlheader.blade.php b/resources/themes/architect/views/layouts/partials/htmlheader.blade.php index c0a7808..f89dd51 100644 --- a/resources/themes/architect/views/layouts/partials/htmlheader.blade.php +++ b/resources/themes/architect/views/layouts/partials/htmlheader.blade.php @@ -13,11 +13,12 @@ - {{ config('app.name') }} - @yield('htmlheader_title','Your title here') + {{ config('app.name') }} - @yield('htmlheader_title','🥇 The BEST ldap admin tool!') + diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 1b3b785..ef6d6c1 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,5 +1,6 @@ @extends('architect::layouts.app') +{{-- @section('htmlheader_title') @lang('Home') @endsection @@ -8,6 +9,7 @@ @endsection @section('page_icon') @endsection +--}} @section('main-content')
diff --git a/routes/web.php b/routes/web.php index aecc5a1..fbe0d6b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -26,12 +26,11 @@ Route::group(['prefix' => LaravelLocalization::setLocale()], function() { 'register' => FALSE, ]); - Route::get('home',[HomeController::class,'home']); + Route::get('/',[HomeController::class,'home']); Route::get('info',[HomeController::class,'info']); Route::post('dn',[HomeController::class,'dn_frame']); }); -Route::redirect('/','home'); Route::get('logout',[LoginController::class,'logout']); Route::group(['prefix'=>'user'],function() {