Skip to content


Subversion checkout URL

You can clone with
Download ZIP


"headers sent" issue #50

merged 1 commit into from

2 participants


Hello Ian,
I have the "headers sent" issue using cli after the shell_exec call on the unix machine (but under the windows I haven't). Could you make decision to marge this pr. or not.


Looks good, I'll merge it now :)

@masterexploder masterexploder merged commit ed19eed into masterexploder:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 31, 2012
  1. @kkamkou

    cli issue with the headers check

    kkamkou committed
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/
2  src/
@@ -918,7 +918,7 @@ public function rotateImageNDegrees ($degrees)
public function show ($rawData = false)
- if (headers_sent())
+ if (headers_sent() && php_sapi_name() != 'cli')
throw new RuntimeException('Cannot show image, headers have already been sent');
Something went wrong with that request. Please try again.