Merge pull request #7 from luckyjay/master

Change to PNG as default output
This commit is contained in:
Christian Haschek 2016-01-10 17:39:17 +01:00
commit 4abd000917

View File

@ -63,7 +63,8 @@ class http2pic
switch($this->params['type'])
{
case 'png': $this->params['type'] = 'png'; break;
default: $this->params['type'] = 'jpg';
case 'jpg': $this->params['type'] = 'jpg'; break;
default: $this->params['type'] = 'png';
}
//validate timeout