com web/people: short-circuit this for now: include/karma.php

From: Date: Mon, 11 Nov 2013 05:41:34 +0000
Subject: com web/people: short-circuit this for now: include/karma.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17018@lists.php.net to get a copy of this message
Commit: 467e34ec685989b236008d0318c5a303de77e885 Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sun, 10 Nov 2013 21:41:34 -0800 Parents: a835cd974264af28ee58b106023acec843646e37 Branches: master Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=467e34ec685989b236008d0318c5a303de77e885 Log: short-circuit this for now Changed paths: M include/karma.php Diff: diff --git a/include/karma.php b/include/karma.php index 86a30c0..bc39bc7 100644 --- a/include/karma.php +++ b/include/karma.php @@ -32,8 +32,9 @@ function refreshStaleKarma() function fetchKarma() { - $ctx = stream_context_create(array("http" => array("ignore_errors" => true))); - $retval = @file_get_contents("https://svn.php.net/repository/SVNROOT/global_avail", false, $ctx); +# $ctx = stream_context_create(array("http" => array("ignore_errors" => true))); +# $retval = @file_get_contents("https://svn.php.net/repository/SVNROOT/global_avail", false, $ctx); + $retval = @file_get_contents("/home/svn/SVNROOT/global_avail"); if (!$retval) { if (isset($http_response_header) && $http_response_header) { list($protocol, $errcode, $errmsg) = explode(" ", $http_response_header[0], 3);

« previous php.webmaster (#17018) next »