-
-
Notifications
You must be signed in to change notification settings - Fork 163
/
forum
executable file
·32 lines (27 loc) · 1.25 KB
/
forum
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
29
30
31
32
#!/usr/bin/env php
<?php
/*
+------------------------------------------------------------------------+
| Phosphorum |
+------------------------------------------------------------------------+
| Copyright (c) 2013-2017 Phalcon Team and contributors |
+------------------------------------------------------------------------+
| This source file is subject to the New BSD License that is bundled |
| with this package in the file LICENSE.txt. |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send an email |
| to license@phalconphp.com so we can send you a copy immediately. |
+------------------------------------------------------------------------+
*/
use Phosphorum\Bootstrap;
// Register the auto loader
require __DIR__.'/bootstrap/autoloader.php';
$bootstrap = new Bootstrap('cli');
try {
$bootstrap->run();
} catch (Exception $e) {
fwrite(STDERR, PHP_EOL . $e->getMessage() . PHP_EOL);
fwrite(STDERR, PHP_EOL . $e->getTraceAsString() . PHP_EOL . PHP_EOL);
exit(1);
}