将define 替换成const

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

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