Issues with URL generator #22
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The URL generator is a bit of an issue when used in a service. The problem is that SCRIPT_NAME is the actual name of the PHP script when run from the command line. We need to somehow figure out a way to get this to use the URL from the frontend side of the application.
mentioned in commit
33890f2583
closed via commit
bfe2111e30
So the fix for this was to allow the webroot used in URL generation to be configured. This part is now handled in the application class of MVC. The Warlock server has been updated to default that to '/' on start so that the
$_SERVER['SCRIPT_NAME']
variable is not used. This can now also be configured in the service config which now allows application config overrides with the "config" sections.For example: