-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
30 lines (26 loc) · 1.08 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
<?php
/**
* Base file where everything is configured and dispatched to
*
* PHP version 5
*
* @category Base
* @package LDP
* @author Sarven Capadisli <sarven.capadisli@deri.org>
* @copyright 2010 Digital Enterprise Research Institute
* @license http://www.fsf.org/licensing/licenses/gpl-3.0.html GNU General Public License version 3.0
* @link http://deri.org/
*/
define('SITE_DIR', '/var/www/transparency.270a.info/'); /* Site directory */
define('LDP_DIR', '/var/www/lib/linked-data-pages/'); /* This package's directory */
define('PAGET_DIR', '/var/www/lib/paget/');
define('MORIARTY_DIR', '/var/www/lib/moriarty/');
define('MORIARTY_ARC_DIR', '/var/www/lib/arc2/');
define('STORE_URI', 'http://localhost:3030/dataset/query');
require_once LDP_DIR . 'classes/LDP_Config.php';
require_once LDP_DIR . 'classes/LDP.php';
require_once SITE_DIR .'classes/SITE_Template.php';
$config = new LDP_Config(); /* Grabs configuration values from this site */
$space = new LDP($config); /* Starts to bulid the request */
$space->dispatch(); /* Dispatches the requested URI */
?>