Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FaviconExtractor does not return correct saved path . #9

Open
magic-thomas opened this issue Dec 13, 2020 · 1 comment
Open

FaviconExtractor does not return correct saved path . #9

magic-thomas opened this issue Dec 13, 2020 · 1 comment

Comments

@magic-thomas
Copy link

I guess I found Error.

I tried this.

$path = 'app/public/favicons';
$this->makeDir( storage_path( $path ) );

$file_path = FaviconExtractor::fromUrl( $url )->fetchAndSaveTo(storage_path( $path ), $fileName );
dd($file_path);

$file_path give me this.

"/path-to-project/storage/app/favicons/1607845513035349.png"

But Actually it is saved here .

find ./ -name "1607845513035349*"

"/path-to-project/storage/app/public/favicons/1607845513035349.png"
@stefanbauer
Copy link
Owner

Thanks! What do you suggest?

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

No branches or pull requests

2 participants