$candidate = FALSE;
$basedirs = CRM_Utils_Zip::findBaseDirs($zip);
if (in_array($expected, $basedirs)) {
$candidate = FALSE;
$basedirs = CRM_Utils_Zip::findBaseDirs($zip);
if (in_array($expected, $basedirs)) {
/**
* An inefficient helper for creating a ZIP file from data in memory.
* This is only intended for building temp files for unit-testing.
/**
* An inefficient helper for creating a ZIP file from data in memory.
* This is only intended for building temp files for unit-testing.