BUG 8665 "32K Issue - Maximum of folder in shared/sites/files" SOLVED
- Al realizar la migracion a la nueva estructura de directorios, no se puede descargar los archivos, desde HOME>Documents - Problema resuelto, al crear la nueva estructura de directorios se ha dado los permisos necesarios para dicho directorio * Available from version ProcessMaker-2.5.1-testing.4
This commit is contained in:
@@ -547,8 +547,9 @@ class workspaceTools
|
||||
//lenght = 2, because the function check . and .. dir links
|
||||
$newDiretory = G::getPathFromUIDPlain($UIdDir);
|
||||
CLI::logging("Migrating $UIdDir to $newDiretory\n");
|
||||
G::mk_dir($newDiretory);
|
||||
G::mk_dir($newDiretory, 0777);
|
||||
//echo `cp -R $UIdDir/* $newDiretory/`;
|
||||
|
||||
if (G::recursive_copy($UIdDir, $newDiretory)) {
|
||||
CLI::logging("Removing $UIdDir...\n");
|
||||
G::rm_dir($UIdDir);
|
||||
@@ -576,8 +577,9 @@ class workspaceTools
|
||||
$goalFile = $levelfile[$lastlevel - 1];
|
||||
$newpattern = G::getPathFromFileUIDPlain($blackHoleDir, $goalFile);
|
||||
CLI::logging("Migrating $blackHoleDir file: $goalFile\n");
|
||||
G::mk_dir($blackHoleDir . '/' . $newpattern[0]);
|
||||
G::mk_dir($blackHoleDir . PATH_SEP . $newpattern[0], 0777);
|
||||
//echo `cp -R $black$goalFile $black$newpattern[0]/$newpattern[1]`;
|
||||
|
||||
if (copy($black . $goalFile, $black . $newpattern[0] . '/' . $newpattern[1])) {
|
||||
unlink($file[$index]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user