forked from pinoox/pinoox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.php
34 lines (28 loc) · 1.02 KB
/
bootstrap.php
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
<?php
/**
* **** * * * **** **** * *
* * * * * * * * * * * * *
* **** * * * * * * * * *
* * * * * * * * * * * *
* * * * ** **** **** * *
* @author Pinoox
* @link https://www.pinoox.com/
* @license https://opensource.org/licenses/MIT MIT License
*/
use Pinoox\Component\Kernel\Loader;
use Pinoox\Portal\App\AppProvider;
define('PINOOX_START', microtime(true));
define('PINOOX_CORE_PATH', __DIR__ . '/pincore/');
define('PINOOX_PATH_THUMB', 'thumbs/{name}_{size}.{ext}');
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader for
| this application. We just need to utilize it! We'll simply require it
| into the script here, so we don't need to manually load our classes.
|
*/
require __DIR__ . '/vendor/autoload.php';
AppProvider::boot();