Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slight fix to previous pull. #14

Merged
merged 1 commit into from
Mar 31, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/bootstrap/dispatcher.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// Render the toolbar (unless it's an asset from the li3_perf library) // Render the toolbar (unless it's an asset from the li3_perf library)
// Why? See li3_perf\extensions\util\Asset // Why? See li3_perf\extensions\util\Asset
$content_type = isset($result->headers['Content-Type']) ? $result->headers['Content-Type'] : ''; $content_type = isset($result->headers['Content-Type']) ? $result->headers['Content-Type'] : '';
$content_type = array_shift(explode(';', $result->headers['Content-Type'], 2)); $content_type = array_shift(explode(';', $content_type, 2));
if( if(
!isset($params['request']->params['asset_type']) && !isset($params['request']->params['asset_type']) &&
(!$content_type || $content_type == 'text/html') (!$content_type || $content_type == 'text/html')
Expand Down