git.cweiske.de
/
auerswald-callnotifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call notifier tests
[auerswald-callnotifier.git]
/
callnotifier.php
1
#!/usr/bin/env php
2
<?php
3
namespace callnotifier;
4
5
set_include_path(
6
__DIR__ . '/src/'
7
. PATH_SEPARATOR . get_include_path()
8
);
9
spl_autoload_register(
10
function ($class) {
11
$file = str_replace(array('\\', '_'), '/', $class) . '.php';
12
$hdl = @fopen($file, 'r', true);
13
if ($hdl !== false) {
14
fclose($hdl);
15
require $file;
16
}
17
}
18
);
19
20
$cli = new CLI();
21
$cli->run();
22
23
?>