Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Bugfix: Install failed to store path for PHP > 5 #1135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JeanLescut
Copy link

BUGFIX : PHP7 & PHP8
preg_replace() changed after PHP5, and the regex [^\w-\.] was invalid and was causing failure to properly clean $project_path
By simply re-ordering the inside of the regex to [^-\.\w], the regex became valid. and the code is now compatible with PHP > 5

BUGFIX : PHP7 & PHP8
preg_replace() changed after PHP5, and the regex [^\w-\.] was invalid and was causing failure to properly clean $project_path
By simply re-ordering the inside of the regex to [^-\.\w], the regex became valid. and the code is now compatible with PHP > 5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants