dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a25c82
)
PHP Fatal error: Call to undefined function request() in /usr/local/apache/common...
author
River Tarnell
<river@users.mediawiki.org>
Thu, 10 May 2007 19:29:21 +0000
(19:29 +0000)
committer
River Tarnell
<river@users.mediawiki.org>
Thu, 10 May 2007 19:29:21 +0000
(19:29 +0000)
need to qualify function with class name
includes/HttpFunctions.php
patch
|
blob
|
history
diff --git
a/includes/HttpFunctions.php
b/includes/HttpFunctions.php
index
e14484e
..
16a6348
100644
(file)
--- a/
includes/HttpFunctions.php
+++ b/
includes/HttpFunctions.php
@@
-5,11
+5,11
@@
*/
class Http {
static function get( $url, $timeout = 'default' ) {
- return request( "GET", $url, $timeout );
+ return
Http::
request( "GET", $url, $timeout );
}
static function post( $url, $timeout = 'default' ) {
- return request( "POST", $url, $timeout );
+ return
Http::
request( "POST", $url, $timeout );
}
/**