diff --git a/public/install/forms.php b/public/install/forms.php index ce575bc9..b6cba6ac 100644 --- a/public/install/forms.php +++ b/public/install/forms.php @@ -78,7 +78,7 @@ if (isset($_POST['feedDB'])) { fwrite($logsfile, $logs); fclose($logsfile); - if (str_contains(getEnvironmentValue("APP_KEY"), "base64")) { + if (strpos(getEnvironmentValue("APP_KEY"), 'base64') !== false) { header("LOCATION: index.php?step=3"); } else { header("LOCATION: index.php?step=2.5&message=There was an error. Please check install/logs.txt !"); diff --git a/resources/views/admin/settings/tabs/language.blade.php b/resources/views/admin/settings/tabs/language.blade.php index 97617199..9f474801 100644 --- a/resources/views/admin/settings/tabs/language.blade.php +++ b/resources/views/admin/settings/tabs/language.blade.php @@ -14,7 +14,7 @@ multiple="multiple" autocomplete="off" @error('defaultLanguage') is-invalid @enderror> @foreach (config('app.available_locales') as $lang) - @endforeach