@@ 174-176 (lines=3) @@ | ||
171 | } |
|
172 | ||
173 | // Wildcard match (if not checking explicitly) |
|
174 | if ($explicit_check === false and isset(request::$accept_types[$type[0]]['*'])) { |
|
175 | return request::$accept_types[$type[0]]['*']; |
|
176 | } |
|
177 | ||
178 | // Catch-all wildcard match (if not checking explicitly) |
|
179 | if ($explicit_check === false and isset(request::$accept_types['*']['*'])) { |
|
@@ 179-181 (lines=3) @@ | ||
176 | } |
|
177 | ||
178 | // Catch-all wildcard match (if not checking explicitly) |
|
179 | if ($explicit_check === false and isset(request::$accept_types['*']['*'])) { |
|
180 | return request::$accept_types['*']['*']; |
|
181 | } |
|
182 | ||
183 | // Content type not accepted |
|
184 | return 0; |