Fix: Remove space at end of binary files
This commit is contained in:
parent
af4651f1a2
commit
9b235f6879
@ -1248,7 +1248,7 @@ function dol_check_secure_access_document($modulepart,$original_file,$entity,$fu
|
||||
|
||||
if (empty($modulepart)) return 'ErrorBadParameter';
|
||||
if (empty($entity)) $entity=0;
|
||||
dol_syslog('$modulepart='.$modulepart.' $original_file= '.$original_file);
|
||||
dol_syslog('modulepart='.$modulepart.' original_file= '.$original_file);
|
||||
// We define $accessallowed and $sqlprotectagainstexternals
|
||||
$accessallowed=0;
|
||||
$sqlprotectagainstexternals='';
|
||||
|
||||
@ -178,4 +178,4 @@ header('Pragma: public');
|
||||
|
||||
readfile($original_file_osencoded);
|
||||
|
||||
?>
|
||||
if (is_object($db)) $db->close();
|
||||
|
||||
@ -198,4 +198,3 @@ else // Open and return file
|
||||
|
||||
|
||||
if (is_object($db)) $db->close();
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user