/** * Returns the physical location of this upload. * * @return string */ public function getLocation() { return Entry::getStorage() . 'tmp/' . $this->uploadID . '-' . $this->fileHash; }
/** * Returns the physical location of this file. * * @return string */ public function getLocation() { return Entry::getStorage() . substr($this->fileHash, 0, 2) . '/' . $this->fileID . '-' . $this->fileHash; }