blob: 3a946af69727ba648a3c2457452b9ff9eeab974d (
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
|
<?php
/**
* Cinisis - Isis db reading tool.
*/
// Import Malete Library.
require_once 'contrib/malete/php/Isis.php';
// Import Spyc.
require_once 'contrib/spyc/spyc.php';
// Autoloader.
function cinisis_autoload($class) {
if (strstr($class, 'Iterator')) {
require_once 'classes/iterators/'. $class .'.php';
}
else {
require_once 'classes/'. $class .'.php';
}
}
// Register autoloader.
spl_autoload_register("cinisis_autoload");
?>
|