Remove last of ini_set() for allow_url_fopen. This hasn't worked since PHP 4.3.4...
[lhc/web/wiklou.git] / includes / ExternalStoreHttp.php
1 <?php
2 /**
3 * Example class for HTTP accessable external objects
4 *
5 * @ingroup ExternalStorage
6 */
7 class ExternalStoreHttp {
8 /* Fetch data from given URL */
9 function fetchFromURL($url) {
10 $ret = file_get_contents( $url );
11 return $ret;
12 }
13
14 /* XXX: may require other methods, for store, delete,
15 * whatever, for initial ext storage
16 */
17 }