forked from melvincarvalho/foafme
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
53 lines (43 loc) · 1.7 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* index.php - general application framework that powers foaf.me
*
* Copyright 2008-2009 foaf.me
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* "Everything should be made as simple as possible, but no simpler."
* -- Albert Einstein
*
*/
// head.php contains the init and head information
// much of the plumbing goes on here, including links to libAuthentication
// libACL libImport and the rdfquery javascript libraries, arc2 is also used
// to parse a Web ID into an array and also to make files read / write using
// SPARUL, the complexity is abstracted from the developer and you left with
// a rich array of profile and relationship data out of the box
//
require_once('head.php');
// header.php is a short customisable header bar with login/logout button
//
require_once('header.php');
// content.php is general purpose content, in this case it links to a tabbed
// FOAF creator new applications can be added to the framework simply by
// replacing content.php
//
require_once('content.php');
// footer.php is a general purpose footer
//
require_once('footer.php');
?>