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 Symfony project and i would like to implement this in Symfony route. Not really easy now.
This is where i am now and it works (except of assets which can be symlinked) relative good. But all header links are pointing to /index.php?....
Workaround can be to create own class which extends "App" and use own getDefaultTemplateVariables() fuction.
So the key problem is in protected function getUrl. Why we need to use SERVER_NAME, SERVER_PORT etc? This is not good in Docker or some proxy for example.
I think really better is this: $pageUrl = $_SERVER['REQUEST_URI']; (+ parse parameters + anchor).
I have Symfony project and i would like to implement this in Symfony route. Not really easy now.
This is where i am now and it works (except of assets which can be symlinked) relative good. But all header links are pointing to /index.php?....
Workaround can be to create own class which extends "App" and use own getDefaultTemplateVariables() fuction.
The text was updated successfully, but these errors were encountered: