Skip to content

Commit 6715291

Browse files
committed
Merge pull request #648 from niol/ppr/fix-queue
Various fixes for opened issues
2 parents bd263b3 + a56ec7e commit 6715291

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

_docs/website/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h2>Requirements</h2>
9494
<div class="documentation-entry">
9595
<p>selfoss is not a hosted service. It has to be installed on your own webserver. This webserver must fulfill the following requirements (which are available from most providers)</p>
9696
<ul>
97-
<li>PHP 5.3 or higher</li>
97+
<li>PHP 5.3 or higher with the php-gd extension enabled</li>
9898
<li>MySQL, PostgreSQL or Sqlite</li>
9999
<li>Apache Webserver (ngnix and lighttpd also possible)</li>
100100
</ul>

libs/SimplePie.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6844,6 +6844,7 @@ public function __construct($url, $timeout = 10, $redirects = 5, $headers = null
68446844
curl_setopt($fp, CURLOPT_URL, $url);
68456845
curl_setopt($fp, CURLOPT_HEADER, 1);
68466846
curl_setopt($fp, CURLOPT_RETURNTRANSFER, 1);
6847+
curl_setopt($fp, CURLOPT_FAILONERROR, 1);
68476848
curl_setopt($fp, CURLOPT_TIMEOUT, $timeout);
68486849
curl_setopt($fp, CURLOPT_CONNECTTIMEOUT, $timeout);
68496850
curl_setopt($fp, CURLOPT_REFERER, $url);

libs/WideImage/vendor/de77/BMP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public static function imagecreatefromstring($data)
131131

132132
$bps = $header['bits_per_pixel']; //bits per pixel
133133
$wid2 = ceil(($bps/8 * $header['width']) / 4) * 4;
134-
$colors = pow(2, $bps);
134+
$colors = $header['colors'];
135135

136136
$wid = $header['width'];
137137
$hei = $header['height'];

0 commit comments

Comments
 (0)