Commit:    467e34ec685989b236008d0318c5a303de77e885
Author:    Rasmus Lerdorf <[email protected]>         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);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to