diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-04-26 08:19:15 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-04-26 08:19:15 +0200 |
commit | a1d9de52cdffcc3eec070a7089786a3ed90fdc17 (patch) | |
tree | 992cf66cd353c46e9055125e786a372eea8b54e5 | |
parent | 95d9eba688b6b52170f84ec240414e540f11cdd5 (diff) | |
download | rpg-a1d9de52cdffcc3eec070a7089786a3ed90fdc17.tar.gz rpg-a1d9de52cdffcc3eec070a7089786a3ed90fdc17.tar.bz2 |
make HTTPClient loadable via autoloader
this fixes the HTTP tests which do test the base class directly instead
of the DokuHTTPClient subclass
-rw-r--r-- | inc/load.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/load.php b/inc/load.php index 0572b5760..9f54034a3 100644 --- a/inc/load.php +++ b/inc/load.php @@ -49,6 +49,7 @@ function load_autoload($name){ static $classes = null; if(is_null($classes)) $classes = array( 'DokuHTTPClient' => DOKU_INC.'inc/HTTPClient.php', + 'HTTPClient' => DOKU_INC.'inc/HTTPClient.php', 'JSON' => DOKU_INC.'inc/JSON.php', 'adLDAP' => DOKU_INC.'inc/adLDAP.php', 'Diff' => DOKU_INC.'inc/DifferenceEngine.php', |