|
@@ 1134-1143 (lines=10) @@
|
| 1131 |
|
if (@is_file($this->zipname))
|
| 1132 |
|
{
|
| 1133 |
|
// ----- Open the zip file
|
| 1134 |
|
if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0)
|
| 1135 |
|
{
|
| 1136 |
|
$this->privSwapBackMagicQuotes();
|
| 1137 |
|
|
| 1138 |
|
// ----- Error log
|
| 1139 |
|
PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode');
|
| 1140 |
|
|
| 1141 |
|
// ----- Return
|
| 1142 |
|
return 0;
|
| 1143 |
|
}
|
| 1144 |
|
|
| 1145 |
|
// ----- Read the central directory informations
|
| 1146 |
|
$v_central_dir = array();
|
|
@@ 3177-3187 (lines=11) @@
|
| 3174 |
|
$this->privDisableMagicQuotes();
|
| 3175 |
|
|
| 3176 |
|
// ----- Open the zip file
|
| 3177 |
|
if (($this->zip_fd = @fopen($this->zipname, 'rb')) == 0)
|
| 3178 |
|
{
|
| 3179 |
|
// ----- Magic quotes trick
|
| 3180 |
|
$this->privSwapBackMagicQuotes();
|
| 3181 |
|
|
| 3182 |
|
// ----- Error log
|
| 3183 |
|
PclZip::privErrorLog(PCLZIP_ERR_READ_OPEN_FAIL, 'Unable to open archive \''.$this->zipname.'\' in binary read mode');
|
| 3184 |
|
|
| 3185 |
|
// ----- Return
|
| 3186 |
|
return PclZip::errorCode();
|
| 3187 |
|
}
|
| 3188 |
|
|
| 3189 |
|
// ----- Read the central directory informations
|
| 3190 |
|
$v_central_dir = array();
|