You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue in my dockerized Laravel 10 app and flasher 1.15.3. The issue is that notifications are not displayed when I'm using something like this:
When I'm redirecting notification won't be displayed, but when directly returning view it works.
It behaves like that because of this part of code in your package:
especially this 'cli' !== \PHP_SAPI because since we are using docker our app is in CLI mode. Can anoyone tell my why this PHP_SAPI check has to be present here?
The text was updated successfully, but these errors were encountered:
forexknight
changed the title
Issue with notification display when redirect
Issue with notification displaying when redirect
Sep 13, 2023
Hi,
I have an issue in my dockerized Laravel 10 app and flasher
1.15.3
. The issue is that notifications are not displayed when I'm using something like this:When I'm redirecting notification won't be displayed, but when directly returning view it works.
It behaves like that because of this part of code in your package:
especially this
'cli' !== \PHP_SAPI
because since we are using docker our app is in CLI mode. Can anoyone tell my why this PHP_SAPI check has to be present here?The text was updated successfully, but these errors were encountered: