diff --git a/plugins/FeedsFileFetcher.inc b/plugins/FeedsFileFetcher.inc index 530c3d1ef81aa1b31fe801d227a7e6b08fea0b37..05a07355f10ddfee6f63990672c10121298f0164 100644 --- a/plugins/FeedsFileFetcher.inc +++ b/plugins/FeedsFileFetcher.inc @@ -15,15 +15,15 @@ class FeedsFileBatch extends FeedsImportBatch { * Constructor. */ public function __construct($file_path, $feed_nid = 0) { - $this->file_path = $file_path; parent::__construct('', $feed_nid); + $this->file_path = $file_path; } /** * Implements FeedsImportBatch::getRaw(); */ public function getRaw() { - return file_get_contents(realpath($this->file_path)); + return file_get_contents($this->file_path); } /**