Merged in dheeyi/processmaker/HOR-900 (pull request #4186)

HOR-900
This commit is contained in:
Julio Cesar Laura Avendaño
2016-05-03 14:29:36 -04:00
3 changed files with 5 additions and 4 deletions

View File

@@ -3723,6 +3723,7 @@ class Processes
$rsCriteria->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rsCriteria->next();
while ($aRow = $rsCriteria->getRow()) {
$aRow['PRF_PATH'] = str_replace("\\", "/", $aRow['PRF_PATH']);
$arrayFilesManager[] = $aRow;
$rsCriteria->next();
}

View File

@@ -60,10 +60,10 @@ class FileHandler
if ($target == "PUBLIC" && in_array($filename, $arrayPublicFileToExclude)) {
continue;
}
$filePath = $prj_uid . PATH_SEP . $filename;
$workflowFile[$target][] = array(
"filename" => $filename,
"filepath" => $prj_uid . PATH_SEP . $filename,
"filepath" => str_replace("\\", "/", $filePath),
"file_content" => file_get_contents($templatesFile)
);
}

View File

@@ -1230,10 +1230,10 @@ class Workflow extends Handler
if ($target == "PUBLIC" && in_array($filename, $arrayPublicFileToExclude)) {
continue;
}
$filePath = $processUid . PATH_SEP . $filename;
$workflowFile[$target][] = array(
"filename" => $filename,
"filepath" => $processUid . PATH_SEP . $filename,
"filepath" => str_replace("\\", "/", $filePath),
"file_content" => file_get_contents($templatesFile)
);
}