aboutsummaryrefslogtreecommitdiff
path: root/index.php
blob: b045be71c0ce39cbf24fc2818cb8c0c884586a9f (plain)
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
<?php
/**
 * Cinisis - Isis db reading tool.
 */

// Import Malete Library.
require_once 'contrib/malete/php/Isis.php';

// Import Spyc.
require_once 'contrib/spyc/spyc.php';

// Import Isis interface.
require_once 'interface.php';

// Autoloader.
function cinisis_autoload($class) {
  require_once 'classes/' .$class. '.php';
}

// Register autoloader.
spl_autoload_register("cinisis_autoload");

// Reference to the base path.
$cinisis_basedir = dirname(__FILE__);

?>