Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Slight fix to previous pull. #14

Merged
merged 1 commit into from

2 participants

@pnomolos

Realized that I wasn't using the proper $content_type variable when I should have been :) Should really be good to go this time!

@tmaiaroto tmaiaroto merged commit 1c666b1 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 31, 2012
  1. @pnomolos

    Bah, fixed better.

    pnomolos authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/bootstrap/dispatcher.php
View
2  config/bootstrap/dispatcher.php
@@ -51,7 +51,7 @@
// Render the toolbar (unless it's an asset from the li3_perf library)
// Why? See li3_perf\extensions\util\Asset
$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(
!isset($params['request']->params['asset_type']) &&
(!$content_type || $content_type == 'text/html')
Something went wrong with that request. Please try again.