hyperf/bootstrap.php

17 lines
427 B
PHP
Raw Normal View History

2019-01-13 03:06:53 +08:00
<?php
2019-04-10 16:08:36 +08:00
2019-06-24 13:40:24 +08:00
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://doc.hyperf.io
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
2019-06-24 13:40:24 +08:00
*/
2019-01-13 03:06:53 +08:00
! defined('BASE_PATH') && define('BASE_PATH', __DIR__);
2019-09-10 16:26:54 +08:00
! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);
2019-04-10 16:08:36 +08:00
2019-06-24 13:40:24 +08:00
require_once BASE_PATH . '/vendor/autoload.php';