forked from BotLife/BotLife
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun
More file actions
executable file
·28 lines (24 loc) · 675 Bytes
/
run
File metadata and controls
executable file
·28 lines (24 loc) · 675 Bytes
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
#!/usr/bin/env php
<?php
defined('APPLICATION_PATH') || define(
'APPLICATION_PATH',
realpath(dirname(__FILE__) . '/src')
);
set_include_path(
implode(
PATH_SEPARATOR,
array(
realpath(APPLICATION_PATH . '/library'),
realpath(APPLICATION_PATH . '/library/bar-game/src'),
realpath(APPLICATION_PATH . '/library/evalmath/src'),
APPLICATION_PATH,
get_include_path(),
)
)
);
require_once 'Application.php';
require_once 'Application/Autoloader.php';
require_once 'IRCBot/src/shortFunctions.php';
$application = new \BotLife\Application();
$application->bootstrap()
->run();