/** * Download Files protected by the license. * * @param string $sFileNamePath A pH7Framework filename path. * @param object \PH7\Framework\File\File $oFile * @return void */ private function _downloadFile($sFileNamePath, File $oFile) { $rFile = $oFile->getUrlContents(self::DOWNLOAD_URL . $this->_getServerFileName($sFileNamePath)); $oFile->putFile(PH7_PATH_FRAMEWORK . $sFileNamePath, $rFile); }
/** * Download Files protected by the license. * * @param string $sFileNamePath Full file name path. * @param object \PH7\Framework\File\File $oFile * @return void */ private function _downloadFile($sFileNamePath, File $oFile) { $rFile = $oFile->getUrlContents(self::DOWNLOAD_URL . '__license.dwld'); $oFile->putFile($sFileNamePath, $rFile); }