-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
artisan
36 lines (27 loc) · 945 Bytes
/
artisan
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
33
34
35
36
#!/usr/bin/env php
<?php
date_default_timezone_set('UTC');
set_time_limit(0);
include_once __DIR__ . '/bootstrap/autoload.php';
include_once __DIR__ . '/bootstrap/start.php';
use Bootstrap\Console\Artisan;
/*
|--------------------------------------------------------------------------
| Set up the Artisan Application
|--------------------------------------------------------------------------
*/
$artisan = Artisan::start();
//load custom registered commands
include BASE . '/routes/console.php';
/*
|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/
$status = $artisan->run();
exit($status);