|
@@ -76,7 +76,7 @@ if ($Cache->get_value('doujin_json_'.$gid)) {
|
76
|
76
|
}
|
77
|
77
|
}
|
78
|
78
|
|
79
|
|
- $json_str = array(
|
|
79
|
+ $json_str = [
|
80
|
80
|
'id' => $gid,
|
81
|
81
|
'title' => html_entity_decode($json['title'], ENT_QUOTES),
|
82
|
82
|
'title_jp' => html_entity_decode($json['title_jpn'], ENT_QUOTES),
|
|
@@ -85,11 +85,11 @@ if ($Cache->get_value('doujin_json_'.$gid)) {
|
85
|
85
|
'censored' => $censored,
|
86
|
86
|
'year' => NULL,
|
87
|
87
|
'tags' => $tags,
|
88
|
|
- 'lang' => $lang,
|
|
88
|
+ 'lang' => $lang??'Japanese',
|
89
|
89
|
'pages' => $json['filecount'],
|
90
|
90
|
'description' => '',
|
91
|
91
|
'cover' => $cover
|
92
|
|
- );
|
|
92
|
+ ];
|
93
|
93
|
|
94
|
94
|
$Cache->cache_value('doujin_json_'.$gid, $json_str, 86400);
|
95
|
95
|
|