renamed "controles" to "controls"

This commit is contained in:
knom
2025-05-05 11:43:03 +02:00
parent 55d3766b39
commit 5950ca9076
11 changed files with 12 additions and 12 deletions

View File

@@ -89,9 +89,9 @@ class AppServiceProvider extends ServiceProvider
$view->with('allusers', $allusers);
$view->with('current_user', $current_user);
if (config('app.auth_roles_enable')){
$view->with('enable_auth_admin_controles', in_array(config('app.auth_roles_admin'),explode(config('app.auth_roles_delimiter'), $_SERVER[config('app.auth_roles_http_header')])));
$view->with('enable_auth_admin_controls', in_array(config('app.auth_roles_admin'),explode(config('app.auth_roles_delimiter'), $_SERVER[config('app.auth_roles_http_header')])));
} else {
$view->with('enable_auth_admin_controles', true);
$view->with('enable_auth_admin_controls', true);
}
});