In the install code:
if (!array_search($needed, $extensions))
should be:
if (array_search($needed, $extensions)===FALSE)
Because if the extension is at position "0" in the array, then it reports it's missing.
In the install code:
if (!array_search($needed, $extensions))
should be:
if (array_search($needed, $extensions)===FALSE)
Because if the extension is at position "0" in the array, then it reports it's missing.
Comments
Comment #1
robertdouglass commented