Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Sep 26, 2019
1 parent 9342a5b commit 2c87c2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
}

if (isset($_GET['img'])) {
$fp = fopen(__DIR__ . '/../website/template/img/logo-small.png', 'rb');
$fp = fopen('https://bref.sh/img/logo-small.png', 'rb');
header('Content-Type: image/png');
header('Content-Length: ' . filesize(__DIR__ . '/logo.png'));
fpassthru($fp);
exit(0);
}
Expand Down

0 comments on commit 2c87c2c

Please sign in to comment.