Skip to content
Snippets Groups Projects
Commit 450814ad authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #3011 disable warning

parent 24a92c60
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@ function Ds_copyOnDocserver(
$infoFileNameInTargetDocserver,
$docserverSourceFingerprint='NONE'
) {
error_reporting(0);
$destinationDir = $infoFileNameInTargetDocserver['destinationDir'];
$fileDestinationName =
$infoFileNameInTargetDocserver['fileDestinationName'];
......@@ -114,6 +115,7 @@ function Ds_copyOnDocserver(
*/
function Ds_createPathOnDocServer($docServer)
{
error_reporting(0);
umask(0022);
if (!is_dir($docServer . date('Y') . DIRECTORY_SEPARATOR)) {
mkdir($docServer . date('Y') . DIRECTORY_SEPARATOR, 0770);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment