root/releases/0.8rc1/_friends/foaf.php

Revision 296, 0.5 kB (checked in by carmartin, 3 years ago)

Includes should use full path given that we know where things are. Patch 1.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG generate FOAF file
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8     // Initialise functions for user details, icon management and profile management
9         run("userdetails:init");
10         run("profile:init");
11         run("friends:init");
12
13     // Whose friends are we looking at?
14         global $page_owner;
15         
16         header("Content-Type: text/xml; charset=utf-8");
17         echo run("foaf:generate", $page_owner);
18                                 
19 ?>
Note: See TracBrowser for help on using the browser.