mirror of
https://github.com/hakasenyang/marumaru-php-parser
synced 2026-08-22 02:03:08 +09:00
image_parse 삭제
더 이상 사용하지 않음.
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
<?php
|
||||
include '_function.php';
|
||||
$url = $_GET['url'];
|
||||
$marumaru = new Marumaru();
|
||||
|
||||
$a = parse_url($url);
|
||||
switch($a['host'])
|
||||
{
|
||||
case 'www.yuncomics.com':
|
||||
case 'blog.yuncomics.com':
|
||||
case 'marumaru.in':
|
||||
break;
|
||||
default:
|
||||
exit;
|
||||
}
|
||||
|
||||
header('Cache-Control: max-age=86400, public');
|
||||
header('Expires: '. gmdate('D, d M Y H:i:s \G\M\T', time() + 86400));
|
||||
header('Content-Type: image/jpeg');
|
||||
echo $marumaru->WEBParsing($url, NULL, NULL);
|
||||
?>
|
||||
Reference in New Issue
Block a user