Skip to content

improve downloader - check if error#1

Open
inser7 wants to merge 2 commits into
igronus:masterfrom
inser7:downloader
Open

improve downloader - check if error#1
inser7 wants to merge 2 commits into
igronus:masterfrom
inser7:downloader

Conversation

@inser7

@inser7 inser7 commented Jan 17, 2020

Copy link
Copy Markdown

No description provided.

Comment thread app/Downloader.php

// TODO: check if '200 Ok' here
$content = @file_get_contents($this->url);
$content = $this->fetch("GET", $this->url);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking for $content below should be changed too.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking for $content below should be changed too.

Why? Don't need to change anything below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants