zmiana uprawnień do pliku CSV rw-rw-r--
This commit is contained in:
@@ -576,5 +576,6 @@ function exportToCSVFile($res, $fullpath, array $headers = null, $delimiter = ';
|
||||
}
|
||||
|
||||
fclose($fp);
|
||||
return ['ok'=>true, 'path'=>$fullpath, 'rows'=>$count, 'error'=>null];
|
||||
$chmod_ok = @chmod($fullpath, 0664);
|
||||
return ['ok'=>true, 'path'=>$fullpath, 'rows'=>$count, 'chmod'=>$chmod_ok, 'error'=>null];
|
||||
}
|
||||
Reference in New Issue
Block a user