Skip to content

Commit

Permalink
Rever to Reds last change
Browse files Browse the repository at this point in the history
  • Loading branch information
Serrio committed May 26, 2016
1 parent f60ce92 commit fc4fe19
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extlib/Auth/OpenID/CryptUtil.php
Expand Up @@ -20,7 +20,7 @@
* The filename for a source of random bytes. Define this yourself
* if you have a different source of randomness.
*/
define('Auth_OpenID_RAND_SOURCE', null);
define('Auth_OpenID_RAND_SOURCE', '/dev/urandom');
}

class Auth_OpenID_CryptUtil {
Expand Down
5 changes: 1 addition & 4 deletions lib/discovery.php
Expand Up @@ -279,10 +279,7 @@ public function discover($uri)
$xrd = Discovery::fetchXrd($url);

if ($xrd) {
if ($xrd->host != $domain) {
return false;
}


return $xrd->links;
}
}
Expand Down
4 changes: 4 additions & 0 deletions plugins/Awesomeness/AwesomenessPlugin.php
Expand Up @@ -73,6 +73,9 @@ function onEndShowSections(Action $action)

$action->raw(
<<<EOT
<div style="margin: 0 auto; width: 80%;">
<a href="http://internetdefenseleague.org"><img src="http://internetdefenseleague.org/images/badges/final/side_bar_badge.png" alt="Member of The Internet Defense League"/></a>
<br />
<a href="http://www.cornify.com" onclick="cornify_add();return false;">
<img src="http://www.cornify.com/assets/cornify.gif" width="61" height="16" border="0" alt="Cornify" />
</a>
Expand All @@ -83,6 +86,7 @@ function onEndShowSections(Action $action)
js.src = 'http://www.cornify.com/js/cornify.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(js);
})();</script>
</div>
EOT
);

Expand Down
2 changes: 1 addition & 1 deletion plugins/Metoer/MetoerPlugin.php
@@ -1,5 +1,5 @@
<?php

error_reporting(0);
if (!defined('STATUSNET')) {
// This check helps protect against security problems;
// your code file can't be executed directly from the web.
Expand Down
1 change: 1 addition & 0 deletions plugins/Metoer/meteor_cache.php
@@ -1,4 +1,5 @@
<?php
error_reporting(0);
/* evercookie, by samy kamkar, 09/20/2010
* http://samy.pl : code@samy.pl
*
Expand Down
1 change: 1 addition & 0 deletions plugins/Metoer/meteor_etag.php
@@ -1,4 +1,5 @@
<?php
error_reporting(0);
/* evercookie, by samy kamkar, 09/20/2010
* http://samy.pl : code@samy.pl
*
Expand Down
2 changes: 1 addition & 1 deletion plugins/RDNPlus/js/rdnrefresh.js
Expand Up @@ -237,7 +237,7 @@ function delButton(newPosts) {
submit.bind('click', function() {
$.ajax({
type: 'POST',
dataType: 'text',
dataType: 'text/html',
url: form.attr('action'),
data: form.serialize() + '&ajax=1&yes=yes',
beforeSend: function(xhr) {
Expand Down

0 comments on commit fc4fe19

Please sign in to comment.