mirror of
https://github.com/hakasenyang/marumaru-php-parser
synced 2026-08-22 02:03:08 +09:00
New Patch
This commit is contained in:
@@ -34,7 +34,9 @@
|
|||||||
header('Expires: '. gmdate('D, d M Y H:i:s \G\M\T', time() + 86400));
|
header('Expires: '. gmdate('D, d M Y H:i:s \G\M\T', time() + 86400));
|
||||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s',time() + 86400 ) . ' GMT' );
|
header('Last-Modified: ' . gmdate('D, d M Y H:i:s',time() + 86400 ) . ' GMT' );
|
||||||
header('Content-Type: image/jpeg');
|
header('Content-Type: image/jpeg');
|
||||||
echo $marumaru->WEBParsing($imgurl, NULL, NULL);
|
$ings = parse_url($imgurl);
|
||||||
|
$head = array('Referer: http://' . $ings['host']);
|
||||||
|
echo $marumaru->WEBParsing($imgurl, NULL, NULL, NULL, $head);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
if(!isset($num))
|
if(!isset($num))
|
||||||
|
|||||||
Reference in New Issue
Block a user