BUG-8965: Documents download with 0 Kb SOLVED

- no se podia descargar los documentos alfresco.
- se cambio eregi_ por preg_replace, para evitar el decrecated.
Merge pull request #2021 from marcoAntonioNina/BUG-8965

BUG-8965: Documents download with 0 Kb SOLVED