From c98b56d2da8f3d95eb7dd665e15df1f623dbdb30 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 13 Jun 2012 21:16:23 +0200 Subject: CSSMin: Remove debug code --- 3rdparty/mediawiki/CSSMin.php | 1 - 1 file changed, 1 deletion(-) (limited to '3rdparty') diff --git a/3rdparty/mediawiki/CSSMin.php b/3rdparty/mediawiki/CSSMin.php index 1ee2919140f..e9c2badf62b 100644 --- a/3rdparty/mediawiki/CSSMin.php +++ b/3rdparty/mediawiki/CSSMin.php @@ -172,7 +172,6 @@ class CSSMin { $type = self::getMimeType( $file ); // Detect when URLs were preceeded with embed tags, and also verify file size is // below the limit - var_dump($match['embed'], $file, filesize($file)); if ( $type && $match['embed'][1] > 0 -- cgit v1.2.3 From 6c7e10245c310b8945b90e50aceb0cd3a123b9bd Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 14 Jun 2012 12:01:16 +0200 Subject: suppress warning if /dev/urandom is not readable (bug #997) --- 3rdparty/phpass/PasswordHash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty') diff --git a/3rdparty/phpass/PasswordHash.php b/3rdparty/phpass/PasswordHash.php index 12958c7f19e..84447b277df 100644 --- a/3rdparty/phpass/PasswordHash.php +++ b/3rdparty/phpass/PasswordHash.php @@ -48,7 +48,7 @@ class PasswordHash { function get_random_bytes($count) { $output = ''; - if (is_readable('/dev/urandom') && + if (@is_readable('/dev/urandom') && ($fh = @fopen('/dev/urandom', 'rb'))) { $output = fread($fh, $count); fclose($fh); -- cgit v1.2.3