将define 替换成const

pull/42/head
NathanFreeman 4 weeks ago
parent aace0fd816
commit 854390329a
  1. 6
      bin/bootstrap.php

@ -1,8 +1,8 @@
<?php
define("ROOT_PATH", dirname(__DIR__));
define('DEBUG', true);
define('VERSION', '0.4.1');
define('WEBSITE', 'https://www.swoole.com/aot/');
const DEBUG = true;
const VERSION = '0.4.1';
const WEBSITE = 'https://www.swoole.com/aot/';
require ROOT_PATH . '/vendor/autoload.php';
require ROOT_PATH . '/src/functions.php';
Loading…
Cancel
Save