php5 exception in web-add script #100
Loading…
Add table
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?
Hi,
The current code has to be updated when a new PHP version is available. One need to add a bunch of simple lines in four (or five) different places. If it isn’t one of these documented version, it assumes we’re using php5 that has a different path scheme.
Let’s do it the other way around: handle php5, and otherwise, make a bit more clever path based on the version number provided. It will avoid the mistake of forgetting a patch place when patching the script by hand, and make it future proof.
I intend to propose a PR ASAP, but feel free to beat me to it.