ezsystems/ezpublish — pull request #204 by jdespatis (2011-11-15 19:57:19+00:00)
Title: iniMatch only supports 4 args, but 2 calls uses 5 args

Watchout for this commit!! I've done an assumption that may be wrong...

First iniMatch is a function that exists only in the file ezfilepackagehandler.php

In order to solve this problem, 2 options:

1/ as iniMatch supports currently 4 args, then just delete 5th arg whenever this function is called...

2/ or add a 5th arg to iniMatch() method, that is done in that commit (look at fileExists() method in that class)
Because this function is performing a $triedFiles[] = $filePath; but if a 5th arg is not present, then all those affected values to $triedFiles would be lost. So I guess 2/ is the correct solution and the commit is correct, but please check intensively...