dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix r53270: drop &returntoquery parameter if empty, and prevent Special:Userlogin...
[lhc/web/wiklou.git]
/
includes
/
ExternalStoreHttp.php
diff --git
a/includes/ExternalStoreHttp.php
b/includes/ExternalStoreHttp.php
index
6eb33b3
..
37fbbe6
100644
(file)
--- a/
includes/ExternalStoreHttp.php
+++ b/
includes/ExternalStoreHttp.php
@@
-6,10
+6,8
@@
*/
class ExternalStoreHttp {
/* Fetch data from given URL */
*/
class ExternalStoreHttp {
/* Fetch data from given URL */
- function fetchFromURL($url) {
- ini_set( "allow_url_fopen", true );
- $ret = file_get_contents( $url );
- ini_set( "allow_url_fopen", false );
+ function fetchFromURL( $url ) {
+ $ret = Http::get( $url );
return $ret;
}
return $ret;
}