mirror of
https://github.com/hakasenyang/marumaru-php-parser
synced 2026-08-22 10:13:08 +09:00
Style 수정
기존의 Tab 에서 Space 로 변경. 스타일 변경만 했으며 소스 수정을 따로 할 필요는 없음.
This commit is contained in:
+17
-17
@@ -1,21 +1,21 @@
|
||||
<?php
|
||||
include '_function.php';
|
||||
$url = $_GET['url'];
|
||||
$marumaru = new Marumaru();
|
||||
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;
|
||||
}
|
||||
$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);
|
||||
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