git.cweiske.de
/
auerswald-callnotifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
move dumps to unit test dir
[auerswald-callnotifier.git]
/
tests
/
bootstrap.php
1
<?php
2
3
set_include_path(
4
__DIR__ . '/../src/'
5
. PATH_SEPARATOR . get_include_path()
6
);
7
spl_autoload_register(
8
function ($class) {
9
$file = str_replace(array('\\', '_'), '/', $class) . '.php';
10
$hdl = @fopen($file, 'r', true);
11
if ($hdl !== false) {
12
fclose($hdl);
13
require $file;
14
}
15
}
16
);
17
18
?>