Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -134,12 +134,12 @@ abstract class _Archive
|
||||
if ( $fh === FALSE )
|
||||
{
|
||||
$lastError = error_get_last();
|
||||
throw new \IPS\Archive\Exception( $lastError['message'], \IPS\Archive\Exception::COULD_NOT_WRITE );
|
||||
throw new \IPS\Archive\Exception( 'Error: ' . $lastError['message'] . ', Path:' . $destination . '/' . $path, \IPS\Archive\Exception::COULD_NOT_WRITE );
|
||||
}
|
||||
if ( @\fwrite( $fh, $contents ) === FALSE )
|
||||
{
|
||||
$lastError = error_get_last();
|
||||
throw new \IPS\Archive\Exception( $lastError['message'], \IPS\Archive\Exception::COULD_NOT_WRITE );
|
||||
throw new \IPS\Archive\Exception( 'Error: ' . $lastError['message'] . ', Path:' . $destination . '/' . $path, \IPS\Archive\Exception::COULD_NOT_WRITE );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user