Révision ec2b0e7b
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/feeds/plugins/FeedsFileFetcher.inc | ||
---|---|---|
29 | 29 |
* Overrides parent::getFilePath(). |
30 | 30 |
*/ |
31 | 31 |
public function getFilePath() { |
32 |
if (!is_readable($this->file_path)) { |
|
33 |
throw new Exception(t('File @filepath is not accessible.', array('@filepath' => $this->file_path))); |
|
34 |
} |
|
32 |
$this->checkFile(); |
|
35 | 33 |
return $this->sanitizeFile($this->file_path); |
36 | 34 |
} |
37 | 35 |
} |
... | ... | |
217 | 215 |
'direct' => FALSE, |
218 | 216 |
'directory' => $scheme . '://feeds', |
219 | 217 |
'allowed_schemes' => $schemes, |
220 |
); |
|
218 |
) + parent::configDefaults();
|
|
221 | 219 |
} |
222 | 220 |
|
223 | 221 |
/** |
Formats disponibles : Unified diff
Weekly update of contrib modules